As with Clone, you can ask Rust to derive Copy for you, using #[derive(Copy)]. ... types by implementing the std::ops::Deref and std::ops::DerefMut traits.
確定! 回上一頁