Type Alias relp_num::NonZeroRational64
source · pub type NonZeroRational64 = Ratio<NonZeroSign, u64, u64>;
Expand description
Non zero rational number.
Aliased Type§
struct NonZeroRational64 { /* private fields */ }
Trait Implementations§
source§impl<'a> Add for &'a NonZeroRational64
impl<'a> Add for &'a NonZeroRational64
source§impl Add for NonZeroRational64
impl Add for NonZeroRational64
source§impl AddAssign for NonZeroRational64
impl AddAssign for NonZeroRational64
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 NonZeroRational64
impl<'a> Div for &'a NonZeroRational64
source§impl Div for NonZeroRational64
impl Div for NonZeroRational64
source§impl DivAssign for NonZeroRational64
impl DivAssign for NonZeroRational64
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 NonZeroRational64
impl<'a> Mul for &'a NonZeroRational64
source§impl Mul for NonZeroRational64
impl Mul for NonZeroRational64
source§impl MulAssign for NonZeroRational64
impl MulAssign for NonZeroRational64
source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*=
operation. Read moresource§impl Neg for &NonZeroRational64
impl Neg for &NonZeroRational64
source§impl Neg for NonZeroRational64
impl Neg for NonZeroRational64
source§impl One for NonZeroRational64
impl One for NonZeroRational64
source§impl Ord for NonZeroRational64
impl Ord for NonZeroRational64
source§impl PartialEq for NonZeroRational64
impl PartialEq for NonZeroRational64
source§impl PartialOrd for NonZeroRational64
impl PartialOrd for NonZeroRational64
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<'a> Sub for &'a NonZeroRational64
impl<'a> Sub for &'a NonZeroRational64
source§impl Sub for NonZeroRational64
impl Sub for NonZeroRational64
source§impl SubAssign for NonZeroRational64
impl SubAssign for NonZeroRational64
source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-=
operation. Read more