pub trait Ref:
Debug
+ Hash
+ Eq
+ PartialEq
+ Copy
+ Clone {
// Required methods
fn min_align(&self) -> usize;
fn size(&self) -> usize;
fn is_mutable(&self) -> bool;
}
Required Methods§
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.