Method lrs::num::Wsize::checked_mul

Multiplies this integer by another one and returns the value if no overflow occurred.

Syntax

impl Wsize {
    fn checked_mul(self, other: usize) -> Option<Wsize>
}

Arguments

NameDescription
other

The integer that will be multiplied.

Return value

Returns the product if no overflow occurred, None otherwise.