pub trait One {
type Boolean: BooleanTrait;
// Required methods
fn one() -> Self
where Self: Sized;
fn is_one(&self) -> Self::Boolean;
}Expand description
Representation of the one value.
pub trait One {
type Boolean: BooleanTrait;
// Required methods
fn one() -> Self
where Self: Sized;
fn is_one(&self) -> Self::Boolean;
}Representation of the one value.