Struct generic_arrayvec::typenum::consts::Z0 [−]
pub struct Z0;
The type-level signed integer 0.
Methods
impl Z0
impl Z0Trait Implementations
impl Pow<Z0> for u8
impl Pow<Z0> for u8type Output = u8
The result of the exponentiation.
fn powi(self, Z0) -> <u8 as Pow<Z0>>::Output
fn powi(self, Z0) -> <u8 as Pow<Z0>>::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
impl Pow<Z0> for i64type Output = i64
The result of the exponentiation.
fn powi(self, Z0) -> <i64 as Pow<Z0>>::Output
fn powi(self, Z0) -> <i64 as Pow<Z0>>::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
impl Pow<Z0> for isizetype Output = isize
The result of the exponentiation.
fn powi(self, Z0) -> <isize as Pow<Z0>>::Output
fn powi(self, Z0) -> <isize as Pow<Z0>>::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
impl Pow<Z0> for i16type Output = i16
The result of the exponentiation.
fn powi(self, Z0) -> <i16 as Pow<Z0>>::Output
fn powi(self, Z0) -> <i16 as Pow<Z0>>::OutputThis 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,
impl<U> Pow<PInt<U>> for Z0 where
U: NonZero + Unsigned, 0^P = 0
type Output = Z0
The result of the exponentiation.
fn powi(self, PInt<U>) -> <Z0 as Pow<PInt<U>>>::Output
fn powi(self, PInt<U>) -> <Z0 as Pow<PInt<U>>>::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
impl Pow<Z0> for u32type Output = u32
The result of the exponentiation.
fn powi(self, Z0) -> <u32 as Pow<Z0>>::Output
fn powi(self, Z0) -> <u32 as Pow<Z0>>::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 Z0
impl Pow<Z0> for Z00^0 = 1
type Output = PInt<UInt<UTerm, B1>>
The result of the exponentiation.
fn powi(self, Z0) -> <Z0 as Pow<Z0>>::Output
fn powi(self, Z0) -> <Z0 as Pow<Z0>>::OutputThis 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,
impl<U> Pow<NInt<U>> for Z0 where
U: NonZero + Unsigned, 0^N = 0
type Output = Z0
The result of the exponentiation.
fn powi(self, NInt<U>) -> <Z0 as Pow<NInt<U>>>::Output
fn powi(self, NInt<U>) -> <Z0 as Pow<NInt<U>>>::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
impl Pow<Z0> for i8type Output = i8
The result of the exponentiation.
fn powi(self, Z0) -> <i8 as Pow<Z0>>::Output
fn powi(self, Z0) -> <i8 as Pow<Z0>>::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 f32
impl Pow<Z0> for f32type Output = f32
The result of the exponentiation.
fn powi(self, Z0) -> <f32 as Pow<Z0>>::Output
fn powi(self, Z0) -> <f32 as Pow<Z0>>::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
impl Pow<Z0> for usizetype Output = usize
The result of the exponentiation.
fn powi(self, Z0) -> <usize as Pow<Z0>>::Output
fn powi(self, Z0) -> <usize as Pow<Z0>>::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
impl Pow<Z0> for u64type Output = u64
The result of the exponentiation.
fn powi(self, Z0) -> <u64 as Pow<Z0>>::Output
fn powi(self, Z0) -> <u64 as Pow<Z0>>::OutputThis 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,
impl<U> Pow<Z0> for NInt<U> where
U: NonZero + Unsigned, N^0 = 1
type Output = PInt<UInt<UTerm, B1>>
The result of the exponentiation.
fn powi(self, Z0) -> <NInt<U> as Pow<Z0>>::Output
fn powi(self, Z0) -> <NInt<U> as Pow<Z0>>::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
impl Pow<Z0> for u16type Output = u16
The result of the exponentiation.
fn powi(self, Z0) -> <u16 as Pow<Z0>>::Output
fn powi(self, Z0) -> <u16 as Pow<Z0>>::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
impl Pow<Z0> for i32type Output = i32
The result of the exponentiation.
fn powi(self, Z0) -> <i32 as Pow<Z0>>::Output
fn powi(self, Z0) -> <i32 as Pow<Z0>>::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
impl Pow<Z0> for f64type Output = f64
The result of the exponentiation.
fn powi(self, Z0) -> <f64 as Pow<Z0>>::Output
fn powi(self, Z0) -> <f64 as Pow<Z0>>::OutputThis 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,
impl<U> Pow<Z0> for PInt<U> where
U: NonZero + Unsigned, P^0 = 1
type Output = PInt<UInt<UTerm, B1>>
The result of the exponentiation.
fn powi(self, Z0) -> <PInt<U> as Pow<Z0>>::Output
fn powi(self, Z0) -> <PInt<U> as Pow<Z0>>::OutputThis function isn't used in this crate, but may be useful for others. It is implemented for primitives. Read more
impl Hash for Z0
impl Hash for Z0fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher, 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 PartialOrd<Z0> for Z0
impl PartialOrd<Z0> for Z0fn partial_cmp(&self, other: &Z0) -> Option<Ordering>
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<I> Div<I> for Z0 where
I: NonZero + Integer,
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 as Div<I>>::Output
fn div(self, I) -> <Z0 as Div<I>>::OutputPerforms the / operation.
impl Default for Z0
impl Default for Z0impl<I> Rem<I> for Z0 where
I: NonZero + Integer,
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 as Rem<I>>::Output
fn rem(self, I) -> <Z0 as Rem<I>>::OutputPerforms the % operation.
impl<U> Max<Z0> for PInt<U> where
U: Unsigned + NonZero,
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) -> <PInt<U> as Max<Z0>>::Output
fn max(self, Z0) -> <PInt<U> as Max<Z0>>::OutputMethod returning the maximum
impl<U> Max<PInt<U>> for Z0 where
U: Unsigned + NonZero,
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>) -> <Z0 as Max<PInt<U>>>::Output
fn max(self, rhs: PInt<U>) -> <Z0 as Max<PInt<U>>>::OutputMethod returning the maximum
impl<U> Max<Z0> for NInt<U> where
U: Unsigned + NonZero,
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) -> <NInt<U> as Max<Z0>>::Output
fn max(self, rhs: Z0) -> <NInt<U> as Max<Z0>>::OutputMethod returning the maximum
impl<U> Max<NInt<U>> for Z0 where
U: Unsigned + NonZero,
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>) -> <Z0 as Max<NInt<U>>>::Output
fn max(self, NInt<U>) -> <Z0 as Max<NInt<U>>>::OutputMethod returning the maximum
impl Max<Z0> for Z0
impl Max<Z0> for Z0type Output = Z0
The type of the maximum of Self and Rhs
fn max(self, Z0) -> <Z0 as Max<Z0>>::Output
fn max(self, Z0) -> <Z0 as Max<Z0>>::OutputMethod returning the maximum
impl<U> Min<Z0> for NInt<U> where
U: Unsigned + NonZero,
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) -> <NInt<U> as Min<Z0>>::Output
fn min(self, Z0) -> <NInt<U> as Min<Z0>>::OutputMethod returning the minimum
impl<U> Min<Z0> for PInt<U> where
U: Unsigned + NonZero,
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) -> <PInt<U> as Min<Z0>>::Output
fn min(self, rhs: Z0) -> <PInt<U> as Min<Z0>>::OutputMethod returning the minimum
impl<U> Min<NInt<U>> for Z0 where
U: Unsigned + NonZero,
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>) -> <Z0 as Min<NInt<U>>>::Output
fn min(self, rhs: NInt<U>) -> <Z0 as Min<NInt<U>>>::OutputMethod returning the minimum
impl<U> Min<PInt<U>> for Z0 where
U: Unsigned + NonZero,
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>) -> <Z0 as Min<PInt<U>>>::Output
fn min(self, PInt<U>) -> <Z0 as Min<PInt<U>>>::OutputMethod returning the minimum
impl Min<Z0> for Z0
impl Min<Z0> for Z0type Output = Z0
The type of the minimum of Self and Rhs
fn min(self, Z0) -> <Z0 as Min<Z0>>::Output
fn min(self, Z0) -> <Z0 as Min<Z0>>::OutputMethod returning the minimum
impl Abs for Z0
impl Abs for Z0impl Ord for Z0
impl Ord for Z0fn cmp(&self, other: &Z0) -> Ordering
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<U> Mul<Z0> for PInt<U> where
U: NonZero + Unsigned,
impl<U> Mul<Z0> for PInt<U> where
U: NonZero + Unsigned, P * Z0 = Z0
type Output = Z0
The resulting type after applying the * operator.
fn mul(self, Z0) -> <PInt<U> as Mul<Z0>>::Output
fn mul(self, Z0) -> <PInt<U> as Mul<Z0>>::OutputPerforms the * operation.
impl Mul<ATerm> for Z0
impl Mul<ATerm> for Z0type Output = ATerm
The resulting type after applying the * operator.
fn mul(self, ATerm) -> <Z0 as Mul<ATerm>>::Output
fn mul(self, ATerm) -> <Z0 as Mul<ATerm>>::OutputPerforms the * operation.
impl<V, A> Mul<TArr<V, A>> for Z0 where
Z0: Mul<A>,
impl<V, A> Mul<TArr<V, A>> for Z0 where
Z0: Mul<A>, type Output = TArr<Z0, <Z0 as Mul<A>>::Output>
The resulting type after applying the * operator.
fn mul(self, TArr<V, A>) -> <Z0 as Mul<TArr<V, A>>>::Output
fn mul(self, TArr<V, A>) -> <Z0 as Mul<TArr<V, A>>>::OutputPerforms the * operation.
impl<U> Mul<Z0> for NInt<U> where
U: NonZero + Unsigned,
impl<U> Mul<Z0> for NInt<U> where
U: NonZero + Unsigned, N * Z0 = Z0
type Output = Z0
The resulting type after applying the * operator.
fn mul(self, Z0) -> <NInt<U> as Mul<Z0>>::Output
fn mul(self, Z0) -> <NInt<U> as Mul<Z0>>::OutputPerforms the * operation.
impl<I> Mul<I> for Z0 where
I: Integer,
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 as Mul<I>>::Output
fn mul(self, I) -> <Z0 as Mul<I>>::OutputPerforms the * operation.
impl Debug for Z0
impl Debug for Z0fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Clone for Z0
impl Clone for Z0fn clone(&self) -> Z0
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 Sub<Z0> for Z0
impl Sub<Z0> for Z0Z0 - Z0 = Z0
type Output = Z0
The resulting type after applying the - operator.
fn sub(self, Z0) -> <Z0 as Sub<Z0>>::Output
fn sub(self, Z0) -> <Z0 as Sub<Z0>>::OutputPerforms the - operation.
impl<U> Sub<Z0> for NInt<U> where
U: NonZero + Unsigned,
impl<U> Sub<Z0> for NInt<U> where
U: NonZero + Unsigned, NInt - Z0 = NInt
type Output = NInt<U>
The resulting type after applying the - operator.
fn sub(self, Z0) -> <NInt<U> as Sub<Z0>>::Output
fn sub(self, Z0) -> <NInt<U> as Sub<Z0>>::OutputPerforms the - operation.
impl<U> Sub<NInt<U>> for Z0 where
U: NonZero + Unsigned,
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 as Sub<NInt<U>>>::Output
fn sub(self, NInt<U>) -> <Z0 as Sub<NInt<U>>>::OutputPerforms the - operation.
impl<U> Sub<PInt<U>> for Z0 where
U: NonZero + Unsigned,
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 as Sub<PInt<U>>>::Output
fn sub(self, PInt<U>) -> <Z0 as Sub<PInt<U>>>::OutputPerforms the - operation.
impl<U> Sub<Z0> for PInt<U> where
U: NonZero + Unsigned,
impl<U> Sub<Z0> for PInt<U> where
U: NonZero + Unsigned, PInt - Z0 = PInt
type Output = PInt<U>
The resulting type after applying the - operator.
fn sub(self, Z0) -> <PInt<U> as Sub<Z0>>::Output
fn sub(self, Z0) -> <PInt<U> as Sub<Z0>>::OutputPerforms the - operation.
impl Integer for Z0
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
fn to_i8() -> i8fn to_i16() -> i16
fn to_i16() -> i16fn to_i32() -> i32
fn to_i32() -> i32fn to_i64() -> i64
fn to_i64() -> i64fn to_isize() -> isize
fn to_isize() -> isizeimpl PartialEq<Z0> for Z0
impl PartialEq<Z0> for Z0fn eq(&self, other: &Z0) -> bool
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<U> Cmp<Z0> for PInt<U> where
U: NonZero + Unsigned,
impl<U> Cmp<Z0> for PInt<U> where
U: NonZero + Unsigned, X > 0
type Output = Greater
The result of the comparison. It should only ever be one of Greater, Less, or Equal.
impl Cmp<Z0> for Z0
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> Cmp<NInt<U>> for Z0 where
U: NonZero + Unsigned,
impl<U> Cmp<NInt<U>> for Z0 where
U: NonZero + Unsigned, 0 > -X
type Output = Greater
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,
impl<U> Cmp<Z0> for NInt<U> where
U: NonZero + Unsigned, -X < 0
type Output = Less
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,
impl<U> Cmp<PInt<U>> for Z0 where
U: NonZero + Unsigned, 0 < X
type Output = Less
The result of the comparison. It should only ever be one of Greater, Less, or Equal.
impl Eq for Z0
impl Eq for Z0impl Copy for Z0
impl Copy for Z0impl<I> Add<I> for Z0 where
I: Integer,
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 as Add<I>>::Output
fn add(self, I) -> <Z0 as Add<I>>::OutputPerforms the + operation.
impl<U> Add<Z0> for NInt<U> where
U: NonZero + Unsigned,
impl<U> Add<Z0> for NInt<U> where
U: NonZero + Unsigned, NInt + Z0 = NInt
type Output = NInt<U>
The resulting type after applying the + operator.
fn add(self, Z0) -> <NInt<U> as Add<Z0>>::Output
fn add(self, Z0) -> <NInt<U> as Add<Z0>>::OutputPerforms the + operation.
impl<U> Add<Z0> for PInt<U> where
U: NonZero + Unsigned,
impl<U> Add<Z0> for PInt<U> where
U: NonZero + Unsigned, PInt + Z0 = PInt
type Output = PInt<U>
The resulting type after applying the + operator.
fn add(self, Z0) -> <PInt<U> as Add<Z0>>::Output
fn add(self, Z0) -> <PInt<U> as Add<Z0>>::OutputPerforms the + operation.
impl Neg for Z0
impl Neg for Z0-Z0 = Z0