Trait fpdec::CheckedRem 
source · pub trait CheckedRem<Rhs = Self> {
    type Output;
    // Required method
    fn checked_rem(self, rhs: Rhs) -> Self::Output;
}Expand description
Checked remainder.
Computes self % rhs.
Returns None if the result can not be represented by the Output type.
Required Associated Types§
Required Methods§
sourcefn checked_rem(self, rhs: Rhs) -> Self::Output
 
fn checked_rem(self, rhs: Rhs) -> Self::Output
Returns Some(self % rhs) or None if the result can not be
represented by the Output type.