Trait Div

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

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

Required Associated Types§

Source

type Output

The resulting type after applying the / operator.

Required Methods§

Source

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

Performs the / operation.

§Example
assert_eq!(12 / 2, 6);

Implementations on Foreign Types§

Source§

impl Div for f32

Source§

type Output = f32

Source§

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

Source§

impl Div for f64

Source§

type Output = f64

Source§

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

Source§

impl Div for i8

Source§

type Output = i8

Source§

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

Source§

impl Div for i16

Source§

type Output = i16

Source§

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

Source§

impl Div for i32

Source§

type Output = i32

Source§

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

Source§

impl Div for i64

Source§

type Output = i64

Source§

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

Source§

impl Div for isize

Source§

type Output = isize

Source§

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

Source§

impl Div for u8

Source§

type Output = u8

Source§

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

Source§

impl Div for u16

Source§

type Output = u16

Source§

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

Source§

impl Div for u32

Source§

type Output = u32

Source§

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

Source§

impl Div for u64

Source§

type Output = u64

Source§

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

Source§

impl Div<&&Bson> for f32

Source§

type Output = f64

Source§

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

Source§

impl Div<&&Bson> for f64

Source§

type Output = f64

Source§

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

Source§

impl Div<&&Bson> for i8

Source§

type Output = i64

Source§

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

Source§

impl Div<&&Bson> for i16

Source§

type Output = i64

Source§

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

Source§

impl Div<&&Bson> for i32

Source§

type Output = i64

Source§

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

Source§

impl Div<&&Bson> for i64

Source§

type Output = i64

Source§

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

Source§

impl Div<&&Bson> for isize

Source§

type Output = i64

Source§

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

Source§

impl Div<&&Bson> for u8

Source§

type Output = u64

Source§

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

Source§

impl Div<&&Bson> for u16

Source§

type Output = u64

Source§

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

Source§

impl Div<&&Bson> for u32

Source§

type Output = u64

Source§

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

Source§

impl Div<&&Bson> for u64

Source§

type Output = u64

Source§

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

Source§

impl Div<&Bson> for f32

Source§

type Output = f64

Source§

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

Source§

impl Div<&Bson> for f64

Source§

type Output = f64

Source§

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

Source§

impl Div<&Bson> for i8

Source§

type Output = i64

Source§

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

Source§

impl Div<&Bson> for i16

Source§

type Output = i64

Source§

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

Source§

impl Div<&Bson> for i32

Source§

type Output = i64

Source§

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

Source§

impl Div<&Bson> for i64

Source§

type Output = i64

Source§

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

Source§

impl Div<&Bson> for isize

Source§

type Output = i64

Source§

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

Source§

impl Div<&Bson> for u8

Source§

type Output = u64

Source§

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

Source§

impl Div<&Bson> for u16

Source§

type Output = u64

Source§

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

Source§

impl Div<&Bson> for u32

Source§

type Output = u64

Source§

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

Source§

impl Div<&Bson> for u64

Source§

type Output = u64

Source§

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

Source§

impl Div<&f32> for &f32

Source§

type Output = f32

Source§

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

Source§

impl Div<&f32> for f32

Source§

type Output = f32

Source§

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

Source§

impl Div<&f64> for &f64

Source§

type Output = f64

Source§

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

Source§

impl Div<&f64> for f64

Source§

type Output = f64

Source§

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

Source§

impl Div<&i8> for &i8

Source§

type Output = i8

Source§

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

Source§

impl Div<&i8> for i8

Source§

type Output = i8

Source§

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

Source§

impl Div<&i16> for &i16

Source§

type Output = i16

Source§

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

Source§

impl Div<&i16> for i16

Source§

type Output = i16

Source§

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

Source§

impl Div<&i32> for &i32

Source§

type Output = i32

Source§

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

Source§

impl Div<&i32> for i32

Source§

type Output = i32

Source§

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

Source§

impl Div<&i64> for &i64

Source§

type Output = i64

Source§

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

Source§

impl Div<&i64> for i64

Source§

type Output = i64

Source§

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

Source§

impl Div<&isize> for &isize

Source§

type Output = isize

Source§

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

Source§

impl Div<&isize> for isize

Source§

type Output = isize

Source§

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

Source§

impl Div<&u8> for &u8

Source§

type Output = u8

Source§

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

Source§

impl Div<&u8> for u8

Source§

type Output = u8

Source§

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

Source§

impl Div<&u16> for &u16

Source§

type Output = u16

Source§

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

Source§

impl Div<&u16> for u16

Source§

type Output = u16

Source§

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

Source§

impl Div<&u32> for &u32

Source§

type Output = u32

Source§

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

Source§

impl Div<&u32> for u32

Source§

type Output = u32

Source§

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

Source§

impl Div<&u64> for &u64

Source§

type Output = u64

Source§

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

Source§

impl Div<&u64> for u64

Source§

type Output = u64

Source§

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

Source§

impl Div<Bson> for f32

Source§

type Output = f64

Source§

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

Source§

impl Div<Bson> for f64

Source§

type Output = f64

Source§

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

Source§

impl Div<Bson> for i8

Source§

type Output = i64

Source§

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

Source§

impl Div<Bson> for i16

Source§

type Output = i64

Source§

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

Source§

impl Div<Bson> for i32

Source§

type Output = i64

Source§

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

Source§

impl Div<Bson> for i64

Source§

type Output = i64

Source§

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

Source§

impl Div<Bson> for isize

Source§

type Output = i64

Source§

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

Source§

impl Div<Bson> for u8

Source§

type Output = u64

Source§

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

Source§

impl Div<Bson> for u16

Source§

type Output = u64

Source§

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

Source§

impl Div<Bson> for u32

Source§

type Output = u64

Source§

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

Source§

impl Div<Bson> for u64

Source§

type Output = u64

Source§

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

Source§

impl Div<f32> for &f32

Source§

type Output = f32

Source§

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

Source§

impl Div<f64> for &f64

Source§

type Output = f64

Source§

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

Source§

impl Div<i8> for &i8

Source§

type Output = i8

Source§

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

Source§

impl Div<i16> for &i16

Source§

type Output = i16

Source§

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

Source§

impl Div<i32> for &i32

Source§

type Output = i32

Source§

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

Source§

impl Div<i64> for &i64

Source§

type Output = i64

Source§

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

Source§

impl Div<isize> for &isize

Source§

type Output = isize

Source§

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

Source§

impl Div<u8> for &u8

Source§

type Output = u8

Source§

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

Source§

impl Div<u16> for &u16

Source§

type Output = u16

Source§

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

Source§

impl Div<u32> for &u32

Source§

type Output = u32

Source§

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

Source§

impl Div<u64> for &u64

Source§

type Output = u64

Source§

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

Implementors§

Source§

impl Div for Value

Source§

impl Div<&&Bson> for &Value

Source§

impl Div<&&Bson> for Value

Source§

impl Div<&&f32> for Value

Source§

impl Div<&&f64> for Value

Source§

impl Div<&&i8> for Value

Source§

impl Div<&&i16> for Value

Source§

impl Div<&&i32> for Value

Source§

impl Div<&&i64> for Value

Source§

impl Div<&&isize> for Value

Source§

impl Div<&&u8> for Value

Source§

impl Div<&&u16> for Value

Source§

impl Div<&&u32> for Value

Source§

impl Div<&&u64> for Value

Source§

impl Div<&Bson> for &Value

Source§

impl Div<&Bson> for Value

Source§

impl Div<&f32> for Value

Source§

impl Div<&f64> for Value

Source§

impl Div<&i8> for Value

Source§

impl Div<&i16> for Value

Source§

impl Div<&i32> for Value

Source§

impl Div<&i64> for Value

Source§

impl Div<&isize> for Value

Source§

impl Div<&u8> for Value

Source§

impl Div<&u16> for Value

Source§

impl Div<&u32> for Value

Source§

impl Div<&u64> for Value

Source§

impl Div<Bson> for &Value

Source§

impl Div<f32> for Value

Source§

impl Div<f64> for Value

Source§

impl Div<i8> for Value

Source§

impl Div<i16> for Value

Source§

impl Div<i32> for Value

Source§

impl Div<i64> for Value

Source§

impl Div<isize> for Value

Source§

impl Div<u8> for Value

Source§

impl Div<u16> for Value

Source§

impl Div<u32> for Value

Source§

impl Div<u64> for Value

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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