pub trait DerivesCopy {
// Required method
fn derives_copy(&self, lib: &Library) -> bool;
}Expand description
Checks if given type derives Copy trait.
Required Methods§
fn derives_copy(&self, lib: &Library) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".