Trait bonsaidb::core::num_traits::identities::One
source · pub trait One: Sized + Mul<Output = Self> {
// Required method
fn one() -> Self;
// Provided methods
fn set_one(&mut self) { ... }
fn is_one(&self) -> bool
where Self: PartialEq { ... }
}
Expand description
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.