Glossary: Rust Beyond the Basics
Copy
A trait that makes a value be copied instead of moved when assigned. A type can be `Copy` only if every field is `Copy`, so a struct with a `String` cannot.
Glossary: Rust Beyond the Basics
A trait that makes a value be copied instead of moved when assigned. A type can be `Copy` only if every field is `Copy`, so a struct with a `String` cannot.