CheckedDivFix

Trait CheckedDivFix 

Source
pub trait CheckedDivFix<Rhs> {
    type Output;

    // Required method
    fn checked_div(&self, v: &Rhs) -> Option<Self::Output>;
}
Expand description

Adapts CheckedDiv to this library with computed Output type.

Required Associated Types§

Required Methods§

Source

fn checked_div(&self, v: &Rhs) -> Option<Self::Output>

Implementors§

Source§

impl<Bits, Base, LExp, RExp> CheckedDivFix<Fix<Bits, Base, RExp>> for Fix<Bits, Base, LExp>
where Bits: CheckedDiv, LExp: Sub<RExp>,

Source§

type Output = Fix<Bits, Base, <LExp as Sub<RExp>>::Output>