pub struct Z0;
Expand description
The type-level signed integer 0.
Implementations§
Trait Implementations§
source§impl Ord for Z0
impl Ord for Z0
source§impl PartialOrd for Z0
impl PartialOrd for Z0
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 moreimpl Copy for Z0
impl Eq for Z0
impl StructuralEq for Z0
impl StructuralPartialEq for Z0
impl Zero for Z0
Auto Trait Implementations§
impl RefUnwindSafe for Z0
impl Send for Z0
impl Sync for Z0
impl Unpin for Z0
impl UnwindSafe for Z0
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
source§impl<M, N> PartialDiv<N> for Mwhere
M: Integer + Div<N> + Rem<N, Output = Z0>,
impl<M, N> PartialDiv<N> for Mwhere M: Integer + Div<N> + Rem<N, Output = Z0>,
source§fn partial_div(self, rhs: N) -> <M as PartialDiv<N>>::Output
fn partial_div(self, rhs: N) -> <M as PartialDiv<N>>::Output
Method for performing the division