Trait num_traits::identities::Zero
source · pub trait Zero: Sized + Add<Self, Output = Self> {
// Required methods
fn zero() -> Self;
fn is_zero(&self) -> bool;
// Provided method
fn set_zero(&mut self) { ... }
}
Expand description
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.