Enum dimensioned::Z0
[−]
pub enum Z0 {}
The type-level signed integer 0.
Trait Implementations
impl PartialEq<Z0> for Z0
fn eq(&self, &Z0) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for Z0
impl PartialOrd<Z0> for Z0
fn partial_cmp(&self, &Z0) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for Z0
impl Clone for Z0
fn clone(&self) -> Z0
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for Z0
impl Hash for Z0
impl Default for Z0
impl Debug for Z0
impl Integer for Z0
impl Neg for Z0
-Z0 = Z0
type Output = Z0
The resulting type after applying the -
operator
fn neg(self) -> Z0::Output
The method for the unary -
operator
impl<I> Add<I> for Z0 where I: Integer
Z0 + I = I
type Output = I
The resulting type after applying the +
operator
fn add(self, I) -> Z0::Output
The method for the +
operator
impl Sub<Z0> for Z0
Z0 - Z0 = Z0
type Output = Z0
The resulting type after applying the -
operator
fn sub(self, Z0) -> Z0::Output
The method for the -
operator
impl<U> Sub<PInt<U>> for Z0 where U: NonZero + Unsigned
Z0 - P = N
type Output = NInt<U>
The resulting type after applying the -
operator
fn sub(self, PInt<U>) -> Z0::Output
The method for the -
operator
impl<U> Sub<NInt<U>> for Z0 where U: NonZero + Unsigned
Z0 - N = P
type Output = PInt<U>
The resulting type after applying the -
operator
fn sub(self, NInt<U>) -> Z0::Output
The method for the -
operator
impl<I> Mul<I> for Z0 where I: Integer
Z0 * I = Z0
type Output = Z0
The resulting type after applying the *
operator
fn mul(self, I) -> Z0::Output
The method for the *
operator
impl<I> Div<I> for Z0 where I: NonZero + Integer
Z0 / I = Z0
where I != 0
type Output = Z0
The resulting type after applying the /
operator
fn div(self, I) -> Z0::Output
The method for the /
operator
impl Cmp<Z0> for Z0
0 == 0
type Output = Equal
impl<U> Cmp<NInt<U>> for Z0 where U: NonZero + Unsigned
0 > -X
type Output = Greater
impl<U> Cmp<PInt<U>> for Z0 where U: NonZero + Unsigned
0 < X
type Output = Less
impl<I> Rem<I> for Z0 where I: NonZero + Integer
Z0 % I = Z0
where I != 0
type Output = Z0
The resulting type after applying the %
operator
fn rem(self, I) -> Z0::Output
The method for the %
operator
impl Pow<Z0> for Z0
00 = 1
type Output = PInt<UInt<UTerm, B1>>
impl<U> Pow<PInt<U>> for Z0 where U: NonZero + Unsigned
0P = 0
impl<U> Pow<NInt<U>> for Z0 where U: NonZero + Unsigned
0N = 0