Skip to main content

WideningMultiply

Trait 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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl WideningMultiply for u8

Source§

type Output = (u8, u8)

Source§

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

Source§

impl WideningMultiply for u16

Source§

type Output = (u16, u16)

Source§

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

Source§

impl WideningMultiply for u32

Source§

type Output = (u32, u32)

Source§

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

Source§

impl WideningMultiply for u64

Source§

type Output = (u64, u64)

Source§

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

Source§

impl WideningMultiply for u128

Source§

type Output = (u128, u128)

Source§

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

Source§

impl WideningMultiply for usize

Source§

type Output = (usize, usize)

Source§

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

Implementors§