Trait opendp::traits::CheckedMul[][src]

pub trait CheckedMul: Sized {
    fn checked_mul(&self, v: &Self) -> Option<Self>;
}
Expand description

Performs multiplication that returns none if overflowing.

Required methods

Checked multiplication. Returns Some(self * v) if the result does not overflow, else None

Implementations on Foreign Types

Implementors