pub trait Zero {
const ZERO: Self;
// Required method
fn is_zero(&self) -> bool;
}
Expand description
A type that can represent a zero-value.
Required Associated Constants§
Required Methods§
Object Safety§
This trait is not object safe.