Trait malachite_base::num::arithmetic::traits::WrappingMul

source ·
pub trait WrappingMul<RHS = Self> {
    type Output;

    // Required method
    fn wrapping_mul(self, other: RHS) -> Self::Output;
}
Expand description

Multiplies two numbers, wrapping around at the boundary of the type.

Required Associated Types§

Required Methods§

source

fn wrapping_mul(self, other: RHS) -> Self::Output

Implementations on Foreign Types§

source§

impl WrappingMul for i8

source§

fn wrapping_mul(self, other: i8) -> i8

This is a wrapper over the wrapping_mul functions in the standard library, for example this one.

§

type Output = i8

source§

impl WrappingMul for i16

source§

fn wrapping_mul(self, other: i16) -> i16

This is a wrapper over the wrapping_mul functions in the standard library, for example this one.

§

type Output = i16

source§

impl WrappingMul for i32

source§

fn wrapping_mul(self, other: i32) -> i32

This is a wrapper over the wrapping_mul functions in the standard library, for example this one.

§

type Output = i32

source§

impl WrappingMul for i64

source§

fn wrapping_mul(self, other: i64) -> i64

This is a wrapper over the wrapping_mul functions in the standard library, for example this one.

§

type Output = i64

source§

impl WrappingMul for i128

source§

fn wrapping_mul(self, other: i128) -> i128

This is a wrapper over the wrapping_mul functions in the standard library, for example this one.

§

type Output = i128

source§

impl WrappingMul for isize

source§

fn wrapping_mul(self, other: isize) -> isize

This is a wrapper over the wrapping_mul functions in the standard library, for example this one.

§

type Output = isize

source§

impl WrappingMul for u8

source§

fn wrapping_mul(self, other: u8) -> u8

This is a wrapper over the wrapping_mul functions in the standard library, for example this one.

§

type Output = u8

source§

impl WrappingMul for u16

source§

fn wrapping_mul(self, other: u16) -> u16

This is a wrapper over the wrapping_mul functions in the standard library, for example this one.

§

type Output = u16

source§

impl WrappingMul for u32

source§

fn wrapping_mul(self, other: u32) -> u32

This is a wrapper over the wrapping_mul functions in the standard library, for example this one.

§

type Output = u32

source§

impl WrappingMul for u64

source§

fn wrapping_mul(self, other: u64) -> u64

This is a wrapper over the wrapping_mul functions in the standard library, for example this one.

§

type Output = u64

source§

impl WrappingMul for u128

source§

fn wrapping_mul(self, other: u128) -> u128

This is a wrapper over the wrapping_mul functions in the standard library, for example this one.

§

type Output = u128

source§

impl WrappingMul for usize

source§

fn wrapping_mul(self, other: usize) -> usize

This is a wrapper over the wrapping_mul functions in the standard library, for example this one.

§

type Output = usize

Implementors§