Trait Zero
tension
pub trait Zero { fn zero() -> Self; }
Analog of num_traits::Zero but also implemented for bool type.
num_traits::Zero
bool
fn zero() -> Self
impl Zero for bool
impl<T: Num> Zero for T