Skip to main content

DerivesCopy

Trait DerivesCopy 

Source
pub trait DerivesCopy {
    // Required method
    fn derives_copy(&self, lib: &Library) -> bool;
}
Expand description

Checks if given type derives Copy trait.

Required Methods§

Source

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".

Implementors§