Copy

Trait Copy 

Source
pub trait Copy: Clone { }
Expand description

Target of [sumtype::sumtype] macro, which implements std::marker::Copy.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T: Copy> Copy for T