pub trait Zero { fn zero() -> Self; fn is_zero(&self) -> bool; }
A trait for values that can be zero.
Returns the zero value.
Returns whether the value is zero.