
Rust
Copy Versus Clone in Rust and Which Types Are Copy
Copy is an implicit bitwise duplicate and Clone is an explicit call that can do real work. Know which of your types should have which, and what each costs.
7 min read
Tag
1 post

Copy is an implicit bitwise duplicate and Clone is an explicit call that can do real work. Know which of your types should have which, and what each costs.