In this example, you can see that Cell<T> enables mutation inside an immutable struct. In other words, it enables "interior mutability". use std::cell::Cell ...
確定! 回上一頁