Struct agb::number::Num [−][src]
pub struct Num<const N: usize>(_);
Implementations
Trait Implementations
impl<const N: usize> AddAssign<Num<N>> for Num<N>
[src]
impl<const N: usize> AddAssign<Num<N>> for Num<N>
[src]fn add_assign(&mut self, rhs: Self)
[src]
fn add_assign(&mut self, rhs: Self)
[src]Performs the +=
operation. Read more
impl<const N: usize> DivAssign<Num<N>> for Num<N>
[src]
impl<const N: usize> DivAssign<Num<N>> for Num<N>
[src]fn div_assign(&mut self, rhs: Self)
[src]
fn div_assign(&mut self, rhs: Self)
[src]Performs the /=
operation. Read more
impl<const N: usize> MulAssign<Num<N>> for Num<N>
[src]
impl<const N: usize> MulAssign<Num<N>> for Num<N>
[src]fn mul_assign(&mut self, rhs: Self)
[src]
fn mul_assign(&mut self, rhs: Self)
[src]Performs the *=
operation. Read more
impl<const N: usize> Ord for Num<N>
[src]
impl<const N: usize> Ord for Num<N>
[src]impl<const N: usize> PartialOrd<Num<N>> for Num<N>
[src]
impl<const N: usize> PartialOrd<Num<N>> for Num<N>
[src]fn partial_cmp(&self, other: &Num<N>) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Num<N>) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl<const N: usize> SubAssign<Num<N>> for Num<N>
[src]
impl<const N: usize> SubAssign<Num<N>> for Num<N>
[src]fn sub_assign(&mut self, rhs: Self)
[src]
fn sub_assign(&mut self, rhs: Self)
[src]Performs the -=
operation. Read more