Trait Mul

Source
pub trait Mul<Rhs = Self> {
    type Output;

    // Required method
    fn op_mul(self, rhs: Rhs) -> Self::Output;
}

Required Associated Types§

Source

type Output

The resulting type after applying the * operator.

Required Methods§

Source

fn op_mul(self, rhs: Rhs) -> Self::Output

Performs the * operation.

§Example
assert_eq!(12 * 2, 24);

Implementations on Foreign Types§

Source§

impl Mul for f32

Source§

type Output = f32

Source§

fn op_mul(self, rhs: f32) -> Self::Output

Source§

impl Mul for f64

Source§

type Output = f64

Source§

fn op_mul(self, rhs: f64) -> Self::Output

Source§

impl Mul for i8

Source§

type Output = i8

Source§

fn op_mul(self, rhs: i8) -> Self::Output

Source§

impl Mul for i16

Source§

type Output = i16

Source§

fn op_mul(self, rhs: i16) -> Self::Output

Source§

impl Mul for i32

Source§

type Output = i32

Source§

fn op_mul(self, rhs: i32) -> Self::Output

Source§

impl Mul for i64

Source§

type Output = i64

Source§

fn op_mul(self, rhs: i64) -> Self::Output

Source§

impl Mul for isize

Source§

type Output = isize

Source§

fn op_mul(self, rhs: isize) -> Self::Output

Source§

impl Mul for u8

Source§

type Output = u8

Source§

fn op_mul(self, rhs: u8) -> Self::Output

Source§

impl Mul for u16

Source§

type Output = u16

Source§

fn op_mul(self, rhs: u16) -> Self::Output

Source§

impl Mul for u32

Source§

type Output = u32

Source§

fn op_mul(self, rhs: u32) -> Self::Output

Source§

impl Mul for u64

Source§

type Output = u64

Source§

fn op_mul(self, rhs: u64) -> Self::Output

Source§

impl Mul<&&Bson> for f32

Source§

type Output = f64

Source§

fn op_mul(self, other: &&Value) -> Self::Output

Source§

impl Mul<&&Bson> for f64

Source§

type Output = f64

Source§

fn op_mul(self, other: &&Value) -> Self::Output

Source§

impl Mul<&&Bson> for i8

Source§

type Output = i64

Source§

fn op_mul(self, other: &&Value) -> Self::Output

Source§

impl Mul<&&Bson> for i16

Source§

type Output = i64

Source§

fn op_mul(self, other: &&Value) -> Self::Output

Source§

impl Mul<&&Bson> for i32

Source§

type Output = i64

Source§

fn op_mul(self, other: &&Value) -> Self::Output

Source§

impl Mul<&&Bson> for i64

Source§

type Output = i64

Source§

fn op_mul(self, other: &&Value) -> Self::Output

Source§

impl Mul<&&Bson> for isize

Source§

type Output = i64

Source§

fn op_mul(self, other: &&Value) -> Self::Output

Source§

impl Mul<&&Bson> for u8

Source§

type Output = u64

Source§

fn op_mul(self, other: &&Value) -> Self::Output

Source§

impl Mul<&&Bson> for u16

Source§

type Output = u64

Source§

fn op_mul(self, other: &&Value) -> Self::Output

Source§

impl Mul<&&Bson> for u32

Source§

type Output = u64

Source§

fn op_mul(self, other: &&Value) -> Self::Output

Source§

impl Mul<&&Bson> for u64

Source§

type Output = u64

Source§

fn op_mul(self, other: &&Value) -> Self::Output

Source§

impl Mul<&Bson> for f32

Source§

type Output = f64

Source§

fn op_mul(self, other: &Value) -> Self::Output

Source§

impl Mul<&Bson> for f64

Source§

type Output = f64

Source§

fn op_mul(self, other: &Value) -> Self::Output

Source§

impl Mul<&Bson> for i8

Source§

type Output = i64

Source§

fn op_mul(self, other: &Value) -> Self::Output

Source§

impl Mul<&Bson> for i16

Source§

type Output = i64

Source§

fn op_mul(self, other: &Value) -> Self::Output

Source§

impl Mul<&Bson> for i32

Source§

type Output = i64

Source§

fn op_mul(self, other: &Value) -> Self::Output

Source§

impl Mul<&Bson> for i64

Source§

type Output = i64

Source§

fn op_mul(self, other: &Value) -> Self::Output

Source§

impl Mul<&Bson> for isize

Source§

type Output = i64

Source§

fn op_mul(self, other: &Value) -> Self::Output

Source§

impl Mul<&Bson> for u8

Source§

type Output = u64

Source§

fn op_mul(self, other: &Value) -> Self::Output

Source§

impl Mul<&Bson> for u16

Source§

type Output = u64

Source§

fn op_mul(self, other: &Value) -> Self::Output

Source§

impl Mul<&Bson> for u32

Source§

type Output = u64

Source§

fn op_mul(self, other: &Value) -> Self::Output

Source§

impl Mul<&Bson> for u64

Source§

type Output = u64

Source§

fn op_mul(self, other: &Value) -> Self::Output

Source§

impl Mul<&f32> for &f32

Source§

type Output = f32

Source§

fn op_mul(self, rhs: &f32) -> Self::Output

Source§

impl Mul<&f32> for f32

Source§

type Output = f32

Source§

fn op_mul(self, rhs: &f32) -> Self::Output

Source§

impl Mul<&f64> for &f64

Source§

type Output = f64

Source§

fn op_mul(self, rhs: &f64) -> Self::Output

Source§

impl Mul<&f64> for f64

Source§

type Output = f64

Source§

fn op_mul(self, rhs: &f64) -> Self::Output

Source§

impl Mul<&i8> for &i8

Source§

type Output = i8

Source§

fn op_mul(self, rhs: &i8) -> Self::Output

Source§

impl Mul<&i8> for i8

Source§

type Output = i8

Source§

fn op_mul(self, rhs: &i8) -> Self::Output

Source§

impl Mul<&i16> for &i16

Source§

type Output = i16

Source§

fn op_mul(self, rhs: &i16) -> Self::Output

Source§

impl Mul<&i16> for i16

Source§

type Output = i16

Source§

fn op_mul(self, rhs: &i16) -> Self::Output

Source§

impl Mul<&i32> for &i32

Source§

type Output = i32

Source§

fn op_mul(self, rhs: &i32) -> Self::Output

Source§

impl Mul<&i32> for i32

Source§

type Output = i32

Source§

fn op_mul(self, rhs: &i32) -> Self::Output

Source§

impl Mul<&i64> for &i64

Source§

type Output = i64

Source§

fn op_mul(self, rhs: &i64) -> Self::Output

Source§

impl Mul<&i64> for i64

Source§

type Output = i64

Source§

fn op_mul(self, rhs: &i64) -> Self::Output

Source§

impl Mul<&isize> for &isize

Source§

type Output = isize

Source§

fn op_mul(self, rhs: &isize) -> Self::Output

Source§

impl Mul<&isize> for isize

Source§

type Output = isize

Source§

fn op_mul(self, rhs: &isize) -> Self::Output

Source§

impl Mul<&u8> for &u8

Source§

type Output = u8

Source§

fn op_mul(self, rhs: &u8) -> Self::Output

Source§

impl Mul<&u8> for u8

Source§

type Output = u8

Source§

fn op_mul(self, rhs: &u8) -> Self::Output

Source§

impl Mul<&u16> for &u16

Source§

type Output = u16

Source§

fn op_mul(self, rhs: &u16) -> Self::Output

Source§

impl Mul<&u16> for u16

Source§

type Output = u16

Source§

fn op_mul(self, rhs: &u16) -> Self::Output

Source§

impl Mul<&u32> for &u32

Source§

type Output = u32

Source§

fn op_mul(self, rhs: &u32) -> Self::Output

Source§

impl Mul<&u32> for u32

Source§

type Output = u32

Source§

fn op_mul(self, rhs: &u32) -> Self::Output

Source§

impl Mul<&u64> for &u64

Source§

type Output = u64

Source§

fn op_mul(self, rhs: &u64) -> Self::Output

Source§

impl Mul<&u64> for u64

Source§

type Output = u64

Source§

fn op_mul(self, rhs: &u64) -> Self::Output

Source§

impl Mul<Bson> for f32

Source§

type Output = f64

Source§

fn op_mul(self, other: Value) -> Self::Output

Source§

impl Mul<Bson> for f64

Source§

type Output = f64

Source§

fn op_mul(self, other: Value) -> Self::Output

Source§

impl Mul<Bson> for i8

Source§

type Output = i64

Source§

fn op_mul(self, other: Value) -> Self::Output

Source§

impl Mul<Bson> for i16

Source§

type Output = i64

Source§

fn op_mul(self, other: Value) -> Self::Output

Source§

impl Mul<Bson> for i32

Source§

type Output = i64

Source§

fn op_mul(self, other: Value) -> Self::Output

Source§

impl Mul<Bson> for i64

Source§

type Output = i64

Source§

fn op_mul(self, other: Value) -> Self::Output

Source§

impl Mul<Bson> for isize

Source§

type Output = i64

Source§

fn op_mul(self, other: Value) -> Self::Output

Source§

impl Mul<Bson> for u8

Source§

type Output = u64

Source§

fn op_mul(self, other: Value) -> Self::Output

Source§

impl Mul<Bson> for u16

Source§

type Output = u64

Source§

fn op_mul(self, other: Value) -> Self::Output

Source§

impl Mul<Bson> for u32

Source§

type Output = u64

Source§

fn op_mul(self, other: Value) -> Self::Output

Source§

impl Mul<Bson> for u64

Source§

type Output = u64

Source§

fn op_mul(self, other: Value) -> Self::Output

Source§

impl Mul<f32> for &f32

Source§

type Output = f32

Source§

fn op_mul(self, rhs: f32) -> Self::Output

Source§

impl Mul<f64> for &f64

Source§

type Output = f64

Source§

fn op_mul(self, rhs: f64) -> Self::Output

Source§

impl Mul<i8> for &i8

Source§

type Output = i8

Source§

fn op_mul(self, rhs: i8) -> Self::Output

Source§

impl Mul<i16> for &i16

Source§

type Output = i16

Source§

fn op_mul(self, rhs: i16) -> Self::Output

Source§

impl Mul<i32> for &i32

Source§

type Output = i32

Source§

fn op_mul(self, rhs: i32) -> Self::Output

Source§

impl Mul<i64> for &i64

Source§

type Output = i64

Source§

fn op_mul(self, rhs: i64) -> Self::Output

Source§

impl Mul<isize> for &isize

Source§

type Output = isize

Source§

fn op_mul(self, rhs: isize) -> Self::Output

Source§

impl Mul<u8> for &u8

Source§

type Output = u8

Source§

fn op_mul(self, rhs: u8) -> Self::Output

Source§

impl Mul<u16> for &u16

Source§

type Output = u16

Source§

fn op_mul(self, rhs: u16) -> Self::Output

Source§

impl Mul<u32> for &u32

Source§

type Output = u32

Source§

fn op_mul(self, rhs: u32) -> Self::Output

Source§

impl Mul<u64> for &u64

Source§

type Output = u64

Source§

fn op_mul(self, rhs: u64) -> Self::Output

Implementors§

Source§

impl Mul for Value

Source§

impl Mul<&&Bson> for &Value

Source§

impl Mul<&&Bson> for Value

Source§

impl Mul<&Bson> for &Value

Source§

impl Mul<&Bson> for Value

Source§

impl Mul<Bson> for &Value

Source§

impl Mul<f32> for Value

Source§

impl Mul<f64> for Value

Source§

impl Mul<i8> for Value

Source§

impl Mul<i16> for Value

Source§

impl Mul<i32> for Value

Source§

impl Mul<i64> for Value

Source§

impl Mul<isize> for Value

Source§

impl Mul<u8> for Value

Source§

impl Mul<u16> for Value

Source§

impl Mul<u32> for Value

Source§

impl Mul<u64> for Value

Source§

impl<'a> Mul<&f32> for &'a Value

Source§

impl<'a> Mul<&f64> for &'a Value

Source§

impl<'a> Mul<&i8> for &'a Value

Source§

impl<'a> Mul<&i16> for &'a Value

Source§

impl<'a> Mul<&i32> for &'a Value

Source§

impl<'a> Mul<&i64> for &'a Value

Source§

impl<'a> Mul<&isize> for &'a Value

Source§

impl<'a> Mul<&u8> for &'a Value

Source§

impl<'a> Mul<&u16> for &'a Value

Source§

impl<'a> Mul<&u32> for &'a Value

Source§

impl<'a> Mul<&u64> for &'a Value

Source§

impl<'a> Mul<f32> for &'a Value

Source§

impl<'a> Mul<f64> for &'a Value

Source§

impl<'a> Mul<i8> for &'a Value

Source§

impl<'a> Mul<i16> for &'a Value

Source§

impl<'a> Mul<i32> for &'a Value

Source§

impl<'a> Mul<i64> for &'a Value

Source§

impl<'a> Mul<isize> for &'a Value

Source§

impl<'a> Mul<u8> for &'a Value

Source§

impl<'a> Mul<u16> for &'a Value

Source§

impl<'a> Mul<u32> for &'a Value

Source§

impl<'a> Mul<u64> for &'a Value