pub trait ConstZero {
// Required methods
fn zero() -> Self;
fn is_zero(&self) -> bool;
fn set_zero(&mut self);
}Expand description
Const-compatible zero value operations.
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.