Struct typenum::int::Z0 [−][src]
pub struct Z0;
The type-level signed integer 0.
Methods
impl Z0[src]
impl Z0Trait Implementations
impl Eq for Z0[src]
impl Eq for Z0impl PartialEq for Z0[src]
impl PartialEq for Z0fn eq(&self, other: &Z0) -> bool[src]
fn eq(&self, other: &Z0) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Ord for Z0[src]
impl Ord for Z0fn cmp(&self, other: &Z0) -> Ordering[src]
fn cmp(&self, other: &Z0) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl PartialOrd for Z0[src]
impl PartialOrd for Z0fn partial_cmp(&self, other: &Z0) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &Z0) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
fn lt(&self, other: &Rhs) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Rhs) -> bool1.0.0[src]
fn le(&self, other: &Rhs) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
fn gt(&self, other: &Rhs) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
fn ge(&self, other: &Rhs) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Clone for Z0[src]
impl Clone for Z0fn clone(&self) -> Z0[src]
fn clone(&self) -> Z0Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Copy for Z0[src]
impl Copy for Z0impl Hash for Z0[src]
impl Hash for Z0fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl Debug for Z0[src]
impl Debug for Z0fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for Z0[src]
impl Default for Z0impl Integer for Z0[src]
impl Integer for Z0const I8: i8
I8: i8 = 0
const I16: i16
I16: i16 = 0
const I32: i32
I32: i32 = 0
const I64: i64
I64: i64 = 0
const ISIZE: isize
ISIZE: isize = 0
fn to_i8() -> i8[src]
fn to_i8() -> i8fn to_i16() -> i16[src]
fn to_i16() -> i16fn to_i32() -> i32[src]
fn to_i32() -> i32fn to_i64() -> i64[src]
fn to_i64() -> i64fn to_isize() -> isize[src]
fn to_isize() -> isizeimpl Neg for Z0[src]
impl Neg for Z0-Z0 = Z0
type Output = Z0
The resulting type after applying the - operator.
fn neg(self) -> Self::Output[src]
fn neg(self) -> Self::OutputPerforms the unary - operation.
impl<I: Integer> Add<I> for Z0[src]
impl<I: Integer> Add<I> for Z0Z0 + I = I
type Output = I
The resulting type after applying the + operator.
fn add(self, _: I) -> Self::Output[src]
fn add(self, _: I) -> Self::OutputPerforms the + operation.
impl<U: Unsigned + NonZero> Add<Z0> for PInt<U>[src]
impl<U: Unsigned + NonZero> Add<Z0> for PInt<U>PInt + Z0 = PInt
type Output = PInt<U>
The resulting type after applying the + operator.
fn add(self, _: Z0) -> Self::Output[src]
fn add(self, _: Z0) -> Self::OutputPerforms the + operation.
impl<U: Unsigned + NonZero> Add<Z0> for NInt<U>[src]
impl<U: Unsigned + NonZero> Add<Z0> for NInt<U>NInt + Z0 = NInt
type Output = NInt<U>
The resulting type after applying the + operator.
fn add(self, _: Z0) -> Self::Output[src]
fn add(self, _: Z0) -> Self::OutputPerforms the + operation.
impl Sub<Z0> for Z0[src]
impl Sub<Z0> for Z0Z0 - Z0 = Z0
type Output = Z0
The resulting type after applying the - operator.
fn sub(self, _: Z0) -> Self::Output[src]
fn sub(self, _: Z0) -> Self::OutputPerforms the - operation.
impl<U: Unsigned + NonZero> Sub<PInt<U>> for Z0[src]
impl<U: Unsigned + NonZero> Sub<PInt<U>> for Z0Z0 - P = N
type Output = NInt<U>
The resulting type after applying the - operator.
fn sub(self, _: PInt<U>) -> Self::Output[src]
fn sub(self, _: PInt<U>) -> Self::OutputPerforms the - operation.
impl<U: Unsigned + NonZero> Sub<NInt<U>> for Z0[src]
impl<U: Unsigned + NonZero> Sub<NInt<U>> for Z0Z0 - N = P
type Output = PInt<U>
The resulting type after applying the - operator.
fn sub(self, _: NInt<U>) -> Self::Output[src]
fn sub(self, _: NInt<U>) -> Self::OutputPerforms the - operation.
impl<U: Unsigned + NonZero> Sub<Z0> for PInt<U>[src]
impl<U: Unsigned + NonZero> Sub<Z0> for PInt<U>PInt - Z0 = PInt
type Output = PInt<U>
The resulting type after applying the - operator.
fn sub(self, _: Z0) -> Self::Output[src]
fn sub(self, _: Z0) -> Self::OutputPerforms the - operation.
impl<U: Unsigned + NonZero> Sub<Z0> for NInt<U>[src]
impl<U: Unsigned + NonZero> Sub<Z0> for NInt<U>NInt - Z0 = NInt
type Output = NInt<U>
The resulting type after applying the - operator.
fn sub(self, _: Z0) -> Self::Output[src]
fn sub(self, _: Z0) -> Self::OutputPerforms the - operation.
impl<I: Integer> Mul<I> for Z0[src]
impl<I: Integer> Mul<I> for Z0Z0 * I = Z0
type Output = Z0
The resulting type after applying the * operator.
fn mul(self, _: I) -> Self::Output[src]
fn mul(self, _: I) -> Self::OutputPerforms the * operation.
impl<U: Unsigned + NonZero> Mul<Z0> for PInt<U>[src]
impl<U: Unsigned + NonZero> Mul<Z0> for PInt<U>P * Z0 = Z0
type Output = Z0
The resulting type after applying the * operator.
fn mul(self, _: Z0) -> Self::Output[src]
fn mul(self, _: Z0) -> Self::OutputPerforms the * operation.
impl<U: Unsigned + NonZero> Mul<Z0> for NInt<U>[src]
impl<U: Unsigned + NonZero> Mul<Z0> for NInt<U>N * Z0 = Z0
type Output = Z0
The resulting type after applying the * operator.
fn mul(self, _: Z0) -> Self::Output[src]
fn mul(self, _: Z0) -> Self::OutputPerforms the * operation.
impl<I: Integer + NonZero> Div<I> for Z0[src]
impl<I: Integer + NonZero> Div<I> for Z0Z0 / I = Z0 where I != 0
type Output = Z0
The resulting type after applying the / operator.
fn div(self, _: I) -> Self::Output[src]
fn div(self, _: I) -> Self::OutputPerforms the / operation.
impl Cmp<Z0> for Z0[src]
impl Cmp<Z0> for Z00 == 0
type Output = Equal
The result of the comparison. It should only ever be one of Greater, Less, or Equal.
impl<U: Unsigned + NonZero> Cmp<NInt<U>> for Z0[src]
impl<U: Unsigned + NonZero> Cmp<NInt<U>> for Z00 > -X
type Output = Greater
The result of the comparison. It should only ever be one of Greater, Less, or Equal.
impl<U: Unsigned + NonZero> Cmp<PInt<U>> for Z0[src]
impl<U: Unsigned + NonZero> Cmp<PInt<U>> for Z00 < X
type Output = Less
The result of the comparison. It should only ever be one of Greater, Less, or Equal.
impl<U: Unsigned + NonZero> Cmp<Z0> for PInt<U>[src]
impl<U: Unsigned + NonZero> Cmp<Z0> for PInt<U>X > 0
type Output = Greater
The result of the comparison. It should only ever be one of Greater, Less, or Equal.
impl<U: Unsigned + NonZero> Cmp<Z0> for NInt<U>[src]
impl<U: Unsigned + NonZero> Cmp<Z0> for NInt<U>-X < 0
type Output = Less
The result of the comparison. It should only ever be one of Greater, Less, or Equal.
impl<I: Integer + NonZero> Rem<I> for Z0[src]
impl<I: Integer + NonZero> Rem<I> for Z0Z0 % I = Z0 where I != 0
type Output = Z0
The resulting type after applying the % operator.
fn rem(self, _: I) -> Self::Output[src]
fn rem(self, _: I) -> Self::OutputPerforms the % operation.
impl Pow<Z0> for Z0[src]
impl Pow<Z0> for Z00^0 = 1
type Output = P1
The result of the exponentiation.
fn powi(self, _: Z0) -> Self::Output[src]
fn powi(self, _: Z0) -> Self::OutputThis function isn't used in this crate, but may be useful for others. It is implemented for primitives. Read more
impl<U: Unsigned + NonZero> Pow<PInt<U>> for Z0[src]
impl<U: Unsigned + NonZero> Pow<PInt<U>> for Z00^P = 0
type Output = Z0
The result of the exponentiation.
fn powi(self, _: PInt<U>) -> Self::Output[src]
fn powi(self, _: PInt<U>) -> Self::OutputThis function isn't used in this crate, but may be useful for others. It is implemented for primitives. Read more
impl<U: Unsigned + NonZero> Pow<NInt<U>> for Z0[src]
impl<U: Unsigned + NonZero> Pow<NInt<U>> for Z00^N = 0
type Output = Z0
The result of the exponentiation.
fn powi(self, _: NInt<U>) -> Self::Output[src]
fn powi(self, _: NInt<U>) -> Self::OutputThis function isn't used in this crate, but may be useful for others. It is implemented for primitives. Read more
impl<U: Unsigned + NonZero> Pow<Z0> for PInt<U>[src]
impl<U: Unsigned + NonZero> Pow<Z0> for PInt<U>P^0 = 1
type Output = P1
The result of the exponentiation.
fn powi(self, _: Z0) -> Self::Output[src]
fn powi(self, _: Z0) -> Self::OutputThis function isn't used in this crate, but may be useful for others. It is implemented for primitives. Read more
impl<U: Unsigned + NonZero> Pow<Z0> for NInt<U>[src]
impl<U: Unsigned + NonZero> Pow<Z0> for NInt<U>N^0 = 1
type Output = P1
The result of the exponentiation.
fn powi(self, _: Z0) -> Self::Output[src]
fn powi(self, _: Z0) -> Self::OutputThis function isn't used in this crate, but may be useful for others. It is implemented for primitives. Read more
impl Min<Z0> for Z0[src]
impl Min<Z0> for Z0type Output = Z0
The type of the minimum of Self and Rhs
fn min(self, _: Z0) -> Self::Output[src]
fn min(self, _: Z0) -> Self::OutputMethod returning the minimum
impl<U> Min<PInt<U>> for Z0 where
U: Unsigned + NonZero, [src]
impl<U> Min<PInt<U>> for Z0 where
U: Unsigned + NonZero, type Output = Z0
The type of the minimum of Self and Rhs
fn min(self, _: PInt<U>) -> Self::Output[src]
fn min(self, _: PInt<U>) -> Self::OutputMethod returning the minimum
impl<U> Min<NInt<U>> for Z0 where
U: Unsigned + NonZero, [src]
impl<U> Min<NInt<U>> for Z0 where
U: Unsigned + NonZero, type Output = NInt<U>
The type of the minimum of Self and Rhs
fn min(self, rhs: NInt<U>) -> Self::Output[src]
fn min(self, rhs: NInt<U>) -> Self::OutputMethod returning the minimum
impl<U> Min<Z0> for PInt<U> where
U: Unsigned + NonZero, [src]
impl<U> Min<Z0> for PInt<U> where
U: Unsigned + NonZero, type Output = Z0
The type of the minimum of Self and Rhs
fn min(self, rhs: Z0) -> Self::Output[src]
fn min(self, rhs: Z0) -> Self::OutputMethod returning the minimum
impl<U> Min<Z0> for NInt<U> where
U: Unsigned + NonZero, [src]
impl<U> Min<Z0> for NInt<U> where
U: Unsigned + NonZero, type Output = NInt<U>
The type of the minimum of Self and Rhs
fn min(self, _: Z0) -> Self::Output[src]
fn min(self, _: Z0) -> Self::OutputMethod returning the minimum
impl Max<Z0> for Z0[src]
impl Max<Z0> for Z0type Output = Z0
The type of the maximum of Self and Rhs
fn max(self, _: Z0) -> Self::Output[src]
fn max(self, _: Z0) -> Self::OutputMethod returning the maximum
impl<U> Max<PInt<U>> for Z0 where
U: Unsigned + NonZero, [src]
impl<U> Max<PInt<U>> for Z0 where
U: Unsigned + NonZero, type Output = PInt<U>
The type of the maximum of Self and Rhs
fn max(self, rhs: PInt<U>) -> Self::Output[src]
fn max(self, rhs: PInt<U>) -> Self::OutputMethod returning the maximum
impl<U> Max<NInt<U>> for Z0 where
U: Unsigned + NonZero, [src]
impl<U> Max<NInt<U>> for Z0 where
U: Unsigned + NonZero, type Output = Z0
The type of the maximum of Self and Rhs
fn max(self, _: NInt<U>) -> Self::Output[src]
fn max(self, _: NInt<U>) -> Self::OutputMethod returning the maximum
impl<U> Max<Z0> for PInt<U> where
U: Unsigned + NonZero, [src]
impl<U> Max<Z0> for PInt<U> where
U: Unsigned + NonZero, type Output = PInt<U>
The type of the maximum of Self and Rhs
fn max(self, _: Z0) -> Self::Output[src]
fn max(self, _: Z0) -> Self::OutputMethod returning the maximum
impl<U> Max<Z0> for NInt<U> where
U: Unsigned + NonZero, [src]
impl<U> Max<Z0> for NInt<U> where
U: Unsigned + NonZero, type Output = Z0
The type of the maximum of Self and Rhs
fn max(self, rhs: Z0) -> Self::Output[src]
fn max(self, rhs: Z0) -> Self::OutputMethod returning the maximum
impl Abs for Z0[src]
impl Abs for Z0impl Pow<Z0> for f32[src]
impl Pow<Z0> for f32type Output = f32
The result of the exponentiation.
fn powi(self, _: Z0) -> Self::Output[src]
fn powi(self, _: Z0) -> Self::OutputThis 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[src]
impl Pow<Z0> for f64type Output = f64
The result of the exponentiation.
fn powi(self, _: Z0) -> Self::Output[src]
fn powi(self, _: Z0) -> Self::OutputThis function isn't used in this crate, but may be useful for others. It is implemented for primitives. Read more
impl Pow<Z0> for u8[src]
impl Pow<Z0> for u8type Output = u8
The result of the exponentiation.
fn powi(self, _: Z0) -> Self::Output[src]
fn powi(self, _: Z0) -> Self::OutputThis 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[src]
impl Pow<Z0> for u16type Output = u16
The result of the exponentiation.
fn powi(self, _: Z0) -> Self::Output[src]
fn powi(self, _: Z0) -> Self::OutputThis 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[src]
impl Pow<Z0> for u32type Output = u32
The result of the exponentiation.
fn powi(self, _: Z0) -> Self::Output[src]
fn powi(self, _: Z0) -> Self::OutputThis 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[src]
impl Pow<Z0> for u64type Output = u64
The result of the exponentiation.
fn powi(self, _: Z0) -> Self::Output[src]
fn powi(self, _: Z0) -> Self::OutputThis 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[src]
impl Pow<Z0> for usizetype Output = usize
The result of the exponentiation.
fn powi(self, _: Z0) -> Self::Output[src]
fn powi(self, _: Z0) -> Self::OutputThis 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[src]
impl Pow<Z0> for i8type Output = i8
The result of the exponentiation.
fn powi(self, _: Z0) -> Self::Output[src]
fn powi(self, _: Z0) -> Self::OutputThis 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[src]
impl Pow<Z0> for i16type Output = i16
The result of the exponentiation.
fn powi(self, _: Z0) -> Self::Output[src]
fn powi(self, _: Z0) -> Self::OutputThis 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[src]
impl Pow<Z0> for i32type Output = i32
The result of the exponentiation.
fn powi(self, _: Z0) -> Self::Output[src]
fn powi(self, _: Z0) -> Self::OutputThis 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[src]
impl Pow<Z0> for i64type Output = i64
The result of the exponentiation.
fn powi(self, _: Z0) -> Self::Output[src]
fn powi(self, _: Z0) -> Self::OutputThis 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[src]
impl Pow<Z0> for isizetype Output = isize
The result of the exponentiation.
fn powi(self, _: Z0) -> Self::Output[src]
fn powi(self, _: Z0) -> Self::OutputThis function isn't used in this crate, but may be useful for others. It is implemented for primitives. Read more
impl Mul<ATerm> for Z0[src]
impl Mul<ATerm> for Z0type Output = ATerm
The resulting type after applying the * operator.
fn mul(self, _: ATerm) -> Self::Output[src]
fn mul(self, _: ATerm) -> Self::OutputPerforms the * operation.
impl<V, A> Mul<TArr<V, A>> for Z0 where
Z0: Mul<A>, [src]
impl<V, A> Mul<TArr<V, A>> for Z0 where
Z0: Mul<A>,