pub trait Zero: ConstantTimeEq + Sized {
// Required method
fn zero() -> Self;
// Provided methods
fn is_zero(&self) -> Choice { ... }
fn set_zero(&mut self) { ... }
fn zero_like(other: &Self) -> Self
where Self: Clone { ... }
}
Expand description
Zero values.
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.