Multiple

Trait Multiple 

Source
pub trait Multiple {
    type Output;

    // Required method
    fn multiple(self, n: usize) -> Self::Output;
}
Expand description

Interface for computing a multiple.

Required Associated Types§

Source

type Output

The return type of Multiple::multiple().

Required Methods§

Source

fn multiple(self, n: usize) -> Self::Output

Returns the product of self and n.

Implementations on Foreign Types§

Source§

impl Multiple for &f32

Source§

type Output = f32

Source§

fn multiple(self, n: usize) -> Self::Output

Source§

impl Multiple for &f64

Source§

type Output = f64

Source§

fn multiple(self, n: usize) -> Self::Output

Source§

impl Multiple for &i8

Source§

type Output = i8

Source§

fn multiple(self, n: usize) -> Self::Output

Source§

impl Multiple for &i16

Source§

type Output = i16

Source§

fn multiple(self, n: usize) -> Self::Output

Source§

impl Multiple for &i32

Source§

type Output = i32

Source§

fn multiple(self, n: usize) -> Self::Output

Source§

impl Multiple for &i64

Source§

type Output = i64

Source§

fn multiple(self, n: usize) -> Self::Output

Source§

impl Multiple for &i128

Source§

type Output = i128

Source§

fn multiple(self, n: usize) -> Self::Output

Source§

impl Multiple for &isize

Source§

type Output = isize

Source§

fn multiple(self, n: usize) -> Self::Output

Source§

impl Multiple for &u8

Source§

type Output = u8

Source§

fn multiple(self, n: usize) -> Self::Output

Source§

impl Multiple for &u16

Source§

type Output = u16

Source§

fn multiple(self, n: usize) -> Self::Output

Source§

impl Multiple for &u32

Source§

type Output = u32

Source§

fn multiple(self, n: usize) -> Self::Output

Source§

impl Multiple for &u64

Source§

type Output = u64

Source§

fn multiple(self, n: usize) -> Self::Output

Source§

impl Multiple for &u128

Source§

type Output = u128

Source§

fn multiple(self, n: usize) -> Self::Output

Source§

impl Multiple for &usize

Source§

type Output = usize

Source§

fn multiple(self, n: usize) -> Self::Output

Source§

impl Multiple for f32

Source§

type Output = f32

Source§

fn multiple(self, n: usize) -> Self::Output

Source§

impl Multiple for f64

Source§

type Output = f64

Source§

fn multiple(self, n: usize) -> Self::Output

Source§

impl Multiple for i8

Source§

type Output = i8

Source§

fn multiple(self, n: usize) -> Self::Output

Source§

impl Multiple for i16

Source§

type Output = i16

Source§

fn multiple(self, n: usize) -> Self::Output

Source§

impl Multiple for i32

Source§

type Output = i32

Source§

fn multiple(self, n: usize) -> Self::Output

Source§

impl Multiple for i64

Source§

type Output = i64

Source§

fn multiple(self, n: usize) -> Self::Output

Source§

impl Multiple for i128

Source§

type Output = i128

Source§

fn multiple(self, n: usize) -> Self::Output

Source§

impl Multiple for isize

Source§

type Output = isize

Source§

fn multiple(self, n: usize) -> Self::Output

Source§

impl Multiple for u8

Source§

type Output = u8

Source§

fn multiple(self, n: usize) -> Self::Output

Source§

impl Multiple for u16

Source§

type Output = u16

Source§

fn multiple(self, n: usize) -> Self::Output

Source§

impl Multiple for u32

Source§

type Output = u32

Source§

fn multiple(self, n: usize) -> Self::Output

Source§

impl Multiple for u64

Source§

type Output = u64

Source§

fn multiple(self, n: usize) -> Self::Output

Source§

impl Multiple for u128

Source§

type Output = u128

Source§

fn multiple(self, n: usize) -> Self::Output

Source§

impl Multiple for usize

Source§

type Output = usize

Source§

fn multiple(self, n: usize) -> Self::Output

Implementors§