Method lrs::num::W16::checked_mul

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

Syntax

impl W16 {
    fn checked_mul(self, other: u16) -> Option<W16>
}

Arguments

NameDescription
other

The integer that will be multiplied.

Return value

Returns the product if no overflow occurred, None otherwise.