Trait num_traits::identities::Zero
source · pub trait Zero: Sized + Add<Self, Output = Self> {
fn zero() -> Self;
fn is_zero(&self) -> bool;
fn set_zero(&mut self) { ... }
}
pub trait Zero: Sized + Add<Self, Output = Self> {
fn zero() -> Self;
fn is_zero(&self) -> bool;
fn set_zero(&mut self) { ... }
}