Struct heapless::consts::Z0[]

pub struct Z0;

The type-level signed integer 0.

Methods

impl Z0

Instantiates a singleton representing the integer 0.

Trait Implementations

impl Pow<Z0> for u8

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 Pow<Z0> for i64

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 Pow<Z0> for isize

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 Pow<Z0> for i16

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, 

0^P = 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 Pow<Z0> for u32

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 Pow<Z0> for Z0

0^0 = 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, 

0^N = 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 Pow<Z0> for i8

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 Pow<Z0> for f32

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 Pow<Z0> for usize

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 Pow<Z0> for u64

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<Z0> for NInt<U> where
    U: NonZero + Unsigned, 

N^0 = 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 Pow<Z0> for u16

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 Pow<Z0> for i32

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 Pow<Z0> for f64

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<Z0> for PInt<U> where
    U: NonZero + Unsigned, 

P^0 = 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 Hash for Z0

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialOrd<Z0> for Z0

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

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

Z0 / I = Z0 where I != 0

The resulting type after applying the / operator.

Performs the / operation.

impl Default for Z0

Returns the "default value" for a type. Read more

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

Z0 % I = Z0 where I != 0

The resulting type after applying the % operator.

Performs the % operation.

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

The type of the maximum of Self and Rhs

Method returning the maximum

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<Z0> for NInt<U> 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<U> Min<Z0> for NInt<U> where
    U: Unsigned + NonZero, 

The type of the minimum of Self and Rhs

Method returning the minimum

impl<U> Min<Z0> for PInt<U> 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<U> Min<PInt<U>> for Z0 where
    U: Unsigned + NonZero, 

The type of the minimum of Self and Rhs

Method returning the minimum

impl Min<Z0> for Z0

The type of the minimum of Self and Rhs

Method returning the minimum

impl Abs for Z0

The absolute value.

impl Ord for Z0

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

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

P * Z0 = Z0

The resulting type after applying the * operator.

Performs the * operation.

impl Mul<ATerm> for Z0

The resulting type after applying the * operator.

Performs the * operation.

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

The resulting type after applying the * operator.

Performs the * operation.

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

N * Z0 = Z0

The resulting type after applying the * operator.

Performs the * operation.

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

Z0 * I = Z0

The resulting type after applying the * operator.

Performs the * operation.

impl Debug for Z0

Formats the value using the given formatter. Read more

impl Clone for Z0

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Sub<Z0> for Z0

Z0 - Z0 = Z0

The resulting type after applying the - operator.

Performs the - operation.

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

NInt - Z0 = NInt

The resulting type after applying the - operator.

Performs the - operation.

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

Z0 - N = P

The resulting type after applying the - operator.

Performs the - operation.

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

Z0 - P = N

The resulting type after applying the - operator.

Performs the - operation.

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

PInt - Z0 = PInt

The resulting type after applying the - operator.

Performs the - operation.

impl Integer for Z0

I8: i8 = 0

I16: i16 = 0

I32: i32 = 0

I64: i64 = 0

ISIZE: isize = 0

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> Cmp<Z0> for PInt<U> where
    U: NonZero + Unsigned, 

X > 0

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<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<U> Cmp<Z0> for NInt<U> where
    U: NonZero + Unsigned, 

-X < 0

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

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 Eq for Z0

impl Copy for Z0

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

Z0 + I = I

The resulting type after applying the + operator.

Performs the + operation.

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

NInt + Z0 = NInt

The resulting type after applying the + operator.

Performs the + operation.

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

PInt + Z0 = PInt

The resulting type after applying the + operator.

Performs the + operation.

impl Neg for Z0

-Z0 = Z0

The resulting type after applying the - operator.

Performs the unary - operation.

Auto Trait Implementations

impl Send for Z0

impl Sync for Z0