Rust · Trait
Copy
Copy lets Rust duplicate a value implicitly by copying its bits. The original remains usable after assignment, but every part of the type must be safely copyable.
Last updated
- Since
- 1.0.0
Syntax
pub trait Copy: Clone { }In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
CloneDropPhantomDataStringVec