pub trait MulWrapped<Rhs: ?Sized = Self> {
type Output;
// Required method
fn mul_wrapped(&self, rhs: &Rhs) -> Self::Output;
}Expand description
Binary operator for multiplying two values, wrapping the product if an overflow occurs.
pub trait MulWrapped<Rhs: ?Sized = Self> {
type Output;
// Required method
fn mul_wrapped(&self, rhs: &Rhs) -> Self::Output;
}Binary operator for multiplying two values, wrapping the product if an overflow occurs.