pub trait Zeroable {
// Required method
fn zero();
}Expand description
Describes a stateful component that can be reset to a “zero state”. Weather this action involves physical movement is up to the implementation. Do not assume calling zero() is physically safe
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.