pub unsafe trait Pod: Copy {
// Required method
fn default() -> Self;
}
Expand description
Trait that indicates that a type is valid for any bit pattern
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.