static FOO: int = 42;. And you can't have a static variable mutable without unsafe code : to follow borrowing rules it would have to be wrapped in a container ...
確定! 回上一頁