Type Alias relp_num::NonZeroRational128
source · pub type NonZeroRational128 = Ratio<NonZeroSign, u128, u128>;
Expand description
Non zero rational number.
Aliased Type§
struct NonZeroRational128 { /* private fields */ }
Trait Implementations§
source§impl<'a> Add for &'a NonZeroRational128
impl<'a> Add for &'a NonZeroRational128
source§impl Add for NonZeroRational128
impl Add for NonZeroRational128
source§impl AddAssign for NonZeroRational128
impl AddAssign for NonZeroRational128
source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moresource§impl<'a> Div for &'a NonZeroRational128
impl<'a> Div for &'a NonZeroRational128
source§impl Div for NonZeroRational128
impl Div for NonZeroRational128
source§impl DivAssign for NonZeroRational128
impl DivAssign for NonZeroRational128
source§fn div_assign(&mut self, rhs: Self)
fn div_assign(&mut self, rhs: Self)
Performs the
/=
operation. Read moresource§impl<'a> Mul for &'a NonZeroRational128
impl<'a> Mul for &'a NonZeroRational128
source§impl Mul for NonZeroRational128
impl Mul for NonZeroRational128
source§impl MulAssign for NonZeroRational128
impl MulAssign for NonZeroRational128
source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*=
operation. Read moresource§impl Neg for &NonZeroRational128
impl Neg for &NonZeroRational128
source§impl Neg for NonZeroRational128
impl Neg for NonZeroRational128
source§impl One for NonZeroRational128
impl One for NonZeroRational128
source§impl PartialEq for NonZeroRational128
impl PartialEq for NonZeroRational128
source§impl<'a> Sub for &'a NonZeroRational128
impl<'a> Sub for &'a NonZeroRational128
source§impl Sub for NonZeroRational128
impl Sub for NonZeroRational128
source§impl SubAssign for NonZeroRational128
impl SubAssign for NonZeroRational128
source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-=
operation. Read more