CheckedMulFix

Trait CheckedMulFix 

Source
pub trait CheckedMulFix<Rhs> {
    type Output;

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

Adapts CheckedMul concept to this library with computed Output type.

Required Associated Types§

Required Methods§

Source

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

Implementors§

Source§

impl<Bits, Base, LExp, RExp> CheckedMulFix<Fix<Bits, Base, RExp>> for Fix<Bits, Base, LExp>
where Bits: CheckedMul, LExp: Add<RExp>,

Source§

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