Struct diffgeom::typenum::Z0 []

pub struct Z0;

The type-level signed integer 0.

Methods

impl Z0

Instantiates a singleton representing the integer 0.

Trait Implementations

impl Clone for Z0

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<U> Cmp<PInt<U>> for Z0 where
    U: NonZero + Unsigned

0 < X

The result of the comparison. It should only ever be one of Greater, Less, or Equal.

impl<U> Cmp<NInt<U>> for Z0 where
    U: NonZero + Unsigned

0 > -X

The result of the comparison. It should only ever be one of Greater, Less, or Equal.

impl Cmp<Z0> for Z0

0 == 0

The result of the comparison. It should only ever be one of Greater, Less, or Equal.

impl<I> Add<I> for Z0 where
    I: Integer

Z0 + I = I

The resulting type after applying the + operator

The method for the + operator

impl Debug for Z0

Formats the value using the given formatter.

impl Neg for Z0

-Z0 = Z0

impl Pow<Z0> for Z0

00 = 1

The result of the exponentiation.

This function isn't used in this crate, but may be useful for others. It is implemented for primitives. Read more

impl<U> Pow<NInt<U>> for Z0 where
    U: NonZero + Unsigned

0N = 0

The result of the exponentiation.

This function isn't used in this crate, but may be useful for others. It is implemented for primitives. Read more

impl<U> Pow<PInt<U>> for Z0 where
    U: NonZero + Unsigned

0P = 0

The result of the exponentiation.

This function isn't used in this crate, but may be useful for others. It is implemented for primitives. Read more

impl Eq for Z0

impl Min<Z0> for Z0

The type of the minimum of Self and Rhs

Method returning the minimum

impl<U> Min<PInt<U>> for Z0 where
    U: Unsigned + NonZero

The type of the minimum of Self and Rhs

Method returning the minimum

impl<U> Min<NInt<U>> for Z0 where
    U: Unsigned + NonZero

The type of the minimum of Self and Rhs

Method returning the minimum

impl<I> Rem<I> for Z0 where
    I: NonZero + Integer

Z0 % I = Z0 where I != 0

impl Integer for Z0

impl<V, A> Mul<TArr<V, A>> for Z0 where
    Z0: Mul<A>, 

The resulting type after applying the * operator

The method for the * operator

impl Mul<ATerm> for Z0

The resulting type after applying the * operator

The method for the * operator

impl<I> Mul<I> for Z0 where
    I: Integer

Z0 * I = Z0

The resulting type after applying the * operator

The method for the * operator

impl<I> Div<I> for Z0 where
    I: NonZero + Integer

Z0 / I = Z0 where I != 0

The resulting type after applying the / operator

The method for the / operator

impl Default for Z0

impl PartialOrd<Z0> for Z0

impl Hash for Z0

impl PartialEq<Z0> for Z0

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<U> Max<PInt<U>> for Z0 where
    U: Unsigned + NonZero

The type of the maximum of Self and Rhs

Method returning the maximum

impl<U> Max<NInt<U>> for Z0 where
    U: Unsigned + NonZero

The type of the maximum of Self and Rhs

Method returning the maximum

impl Max<Z0> for Z0

The type of the maximum of Self and Rhs

Method returning the maximum

impl Abs for Z0

The absolute value.

impl<U> Sub<PInt<U>> for Z0 where
    U: NonZero + Unsigned

Z0 - P = N

The resulting type after applying the - operator

The method for the - operator

impl Sub<Z0> for Z0

Z0 - Z0 = Z0

The resulting type after applying the - operator

The method for the - operator

impl<U> Sub<NInt<U>> for Z0 where
    U: NonZero + Unsigned

Z0 - N = P

The resulting type after applying the - operator

The method for the - operator

impl Ord for Z0

impl Copy for Z0