Trait rand::distributions::utils::WideningMultiply

source ·
pub(crate) trait WideningMultiply<RHS = Self> {
    type Output;

    // Required method
    fn wmul(self, x: RHS) -> Self::Output;
}

Required Associated Types§

Required Methods§

source

fn wmul(self, x: RHS) -> Self::Output

Implementations on Foreign Types§

source§

impl WideningMultiply for u8

§

type Output = (u8, u8)

source§

fn wmul(self, x: u8) -> Self::Output

source§

impl WideningMultiply for u16

§

type Output = (u16, u16)

source§

fn wmul(self, x: u16) -> Self::Output

source§

impl WideningMultiply for u32

§

type Output = (u32, u32)

source§

fn wmul(self, x: u32) -> Self::Output

source§

impl WideningMultiply for u64

§

type Output = (u64, u64)

source§

fn wmul(self, x: u64) -> Self::Output

source§

impl WideningMultiply for u128

§

type Output = (u128, u128)

source§

fn wmul(self, b: u128) -> Self::Output

source§

impl WideningMultiply for usize

§

type Output = (usize, usize)

source§

fn wmul(self, x: usize) -> Self::Output

Implementors§