pub struct nat;
Trait Implementations§
§impl Ord for nat
impl Ord for nat
§impl PartialOrd for nat
impl PartialOrd for nat
§fn partial_cmp(&self, _other: &nat) -> Option<Ordering>
fn partial_cmp(&self, _other: &nat) -> Option<Ordering>
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 more§impl SpecEuclideanDiv for nat
impl SpecEuclideanDiv for nat
type Output = nat
fn spec_euclidean_div(self, _rhs: nat) -> <nat as SpecEuclideanDiv>::Output
§impl SpecEuclideanMod for nat
impl SpecEuclideanMod for nat
type Output = nat
fn spec_euclidean_mod(self, _rhs: nat) -> <nat as SpecEuclideanMod>::Output
impl Copy for nat
impl Eq for nat
impl Structural for nat
Auto Trait Implementations§
impl Freeze for nat
impl RefUnwindSafe for nat
impl Send for nat
impl Sync for nat
impl Unpin for nat
impl UnwindSafe for nat
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more