Trait crypto_bigint::CheckedMul[][src]

pub trait CheckedMul<Rhs = Self>: Sized {
    type Output;
    fn checked_mul(&self, rhs: Rhs) -> CtOption<Self>;
}
Expand description

Checked multiplication.

Associated Types

Output type.

Required methods

Perform checked multiplication, returning a CtOption which is_some only if the operation did not overflow.

Implementors