在rust 中,可用mod 关键字划分代码作用域,使代码结构清晰。 mod 的基本使用: // 学校mod school { // 教师mod teacher { fn num() -> ...
確定! 回上一頁