Struct diffgeom::typenum::Z0
[−]
pub struct Z0;
The type-level signed integer 0.
Methods
impl Z0
Trait Implementations
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<U> Cmp<PInt<U>> for Z0 where
U: NonZero + Unsigned,
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<U> Cmp<NInt<U>> for Z0 where
U: NonZero + Unsigned,
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 Cmp<Z0> for Z0
0 == 0
type Output = Equal
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,
I: Integer,
Z0 + I = I
type Output = I
The resulting type after applying the +
operator
fn add(self, I) -> <Z0 as Add<I>>::Output
The method for the +
operator
impl Debug for Z0
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Neg for Z0
-Z0 = Z0
impl Pow<Z0> for Z0
00 = 1
type Output = PInt<UInt<UTerm, B1>>
The result of the exponentiation.
fn powi(self, Z0) -> <Z0 as Pow<Z0>>::Output
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,
U: NonZero + Unsigned,
0N = 0
type Output = Z0
The result of the exponentiation.
fn powi(self, NInt<U>) -> <Z0 as Pow<NInt<U>>>::Output
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,
U: NonZero + Unsigned,
0P = 0
type Output = Z0
The result of the exponentiation.
fn powi(self, PInt<U>) -> <Z0 as Pow<PInt<U>>>::Output
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
type Output = Z0
The type of the minimum of Self
and Rhs
fn min(self, Z0) -> <Z0 as Min<Z0>>::Output
Method returning the minimum
impl<U> Min<PInt<U>> for Z0 where
U: Unsigned + NonZero,
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
Method returning the minimum
impl<U> Min<NInt<U>> for Z0 where
U: Unsigned + NonZero,
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
Method returning the minimum
impl<I> Rem<I> for Z0 where
I: NonZero + Integer,
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>,
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
The method for the *
operator
impl Mul<ATerm> for Z0
type Output = ATerm
The resulting type after applying the *
operator
fn mul(self, ATerm) -> <Z0 as Mul<ATerm>>::Output
The method for the *
operator
impl<I> Mul<I> for Z0 where
I: Integer,
I: Integer,
Z0 * I = Z0
type Output = Z0
The resulting type after applying the *
operator
fn mul(self, I) -> <Z0 as Mul<I>>::Output
The method for the *
operator
impl<I> Div<I> for Z0 where
I: NonZero + Integer,
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
The method for the /
operator
impl Default for Z0
impl PartialOrd<Z0> for Z0
fn partial_cmp(&self, __arg_0: &Z0) -> Option<Ordering>
impl Hash for Z0
impl PartialEq<Z0> for Z0
fn eq(&self, __arg_0: &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<U> Max<PInt<U>> for Z0 where
U: Unsigned + NonZero,
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
Method returning the maximum
impl<U> Max<NInt<U>> for Z0 where
U: Unsigned + NonZero,
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
Method returning the maximum
impl Max<Z0> for Z0
type Output = Z0
The type of the maximum of Self
and Rhs
fn max(self, Z0) -> <Z0 as Max<Z0>>::Output
Method returning the maximum
impl Abs for Z0
impl<U> Sub<PInt<U>> for Z0 where
U: NonZero + Unsigned,
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
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 as Sub<Z0>>::Output
The method for the -
operator
impl<U> Sub<NInt<U>> for Z0 where
U: NonZero + Unsigned,
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
The method for the -
operator