Method lrs::num::W64::checked_mul

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

Syntax

impl W64 {
    fn checked_mul(self, other: u64) -> Option<W64>
}

Arguments

NameDescription
other

The integer that will be multiplied.

Return value

Returns the product if no overflow occurred, None otherwise.