Trait rustc_transmute::layout::Def
source · pub(crate) trait Def:
Debug
+ Hash
+ Eq
+ PartialEq
+ Copy
+ Clone {
// Required method
fn has_safety_invariants(&self) -> bool;
}
Required Methods§
fn has_safety_invariants(&self) -> bool
Object Safety§
This trait is not object safe.