pub trait Div<Rhs = Self> {
type Output;
// Required method
fn div(self, rhs: Rhs) -> Self::Output;
}Required Associated Types§
Required Methods§
Implementations on Foreign Types§
source§impl Div<u8> for u8
impl Div<u8> for u8
This operation rounds towards zero, truncating any fractional part of the exact result.
Panics
This operation will panic if other == 0.
source§impl Div<u32> for u32
impl Div<u32> for u32
This operation rounds towards zero, truncating any fractional part of the exact result.
Panics
This operation will panic if other == 0.
source§impl Div<u64> for u64
impl Div<u64> for u64
This operation rounds towards zero, truncating any fractional part of the exact result.
Panics
This operation will panic if other == 0.
source§impl Div<i128> for i128
impl Div<i128> for i128
This operation rounds towards zero, truncating any fractional part of the exact result.
Panics
This operation will panic if other == 0 or the division results in overflow.
source§impl Div<usize> for usize
impl Div<usize> for usize
This operation rounds towards zero, truncating any fractional part of the exact result.
Panics
This operation will panic if other == 0.
source§impl Div<i64> for i64
impl Div<i64> for i64
This operation rounds towards zero, truncating any fractional part of the exact result.
Panics
This operation will panic if other == 0 or the division results in overflow.
source§impl Div<i32> for i32
impl Div<i32> for i32
This operation rounds towards zero, truncating any fractional part of the exact result.
Panics
This operation will panic if other == 0 or the division results in overflow.
source§impl Div<isize> for isize
impl Div<isize> for isize
This operation rounds towards zero, truncating any fractional part of the exact result.
Panics
This operation will panic if other == 0 or the division results in overflow.
source§impl Div<u16> for u16
impl Div<u16> for u16
This operation rounds towards zero, truncating any fractional part of the exact result.
Panics
This operation will panic if other == 0.
source§impl Div<u128> for u128
impl Div<u128> for u128
This operation rounds towards zero, truncating any fractional part of the exact result.
Panics
This operation will panic if other == 0.
source§impl Div<i8> for i8
impl Div<i8> for i8
This operation rounds towards zero, truncating any fractional part of the exact result.
Panics
This operation will panic if other == 0 or the division results in overflow.
source§impl Div<i16> for i16
impl Div<i16> for i16
This operation rounds towards zero, truncating any fractional part of the exact result.
Panics
This operation will panic if other == 0 or the division results in overflow.