pub trait PluralizeCount {
type Error: Into<Error>;
// Required method
fn is_singular(&self) -> Result<bool, Self::Error>;
}Expand description
An integer that can have the value +1 and maybe -1.
Required Associated Types§
Required Methods§
Sourcefn is_singular(&self) -> Result<bool, Self::Error>
fn is_singular(&self) -> Result<bool, Self::Error>
Returns true if and only if the value is ±1.