...

/

Copy and Marker Traits

Copy and Marker Traits

We'll cover the following...

We’ve previously talked about copyable types. As a reminder, those are types that are so cheap to clone that the compiler will do it for you automatically. Rust identifies these types with a special trait called Copy ...