函式更多,可以把整個module 移到另一個檔案,lib.rs 裡面只留下mod 宣告:. mod modulename;. 內容移到modulename.rs 裡面。 或者有足以獨立出來的功能 ...
確定! 回上一頁