Trait sp_arithmetic::traits::Zero
source · pub trait Zero: Sized + Add<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.