Expand description
A cheap version of Clone
.
Traits
- Extension traits on
Option
where it holds a ref.
Derive Macros
- Derive the
Clone
trait, but without requiring all type arguments to implementClone
. - Derive the
Copy
trait, but without requiring all type arguments to implementCopy
. - Derive the
Dupe
trait. - Derive the
Dupe
trait, but without requiring all type arguments to implementDupe
.