Struct Z0
pub struct Z0;
The type-level signed integer 0.
Implementations
impl Z0
fn new() -> Z0Instantiates a singleton representing the integer 0.
Trait Implementations
impl Abs for Z0
type Output = Z0;
impl Binary for Z0
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Clone for Z0
fn clone(&self) -> Self
impl Cmp for Z0
type Output = Equal;
impl Copy for Z0
impl Debug for Z0
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for Z0
fn default() -> Self
impl Eq for Z0
impl Gcd<Z0> for Z0
type Output = Z0;
impl Hash for Z0
fn hash<__H: Hasher>(&self, state: &mut __H)
impl Integer for Z0
const I8: i8 = 0;const I16: i16 = 0;const I32: i32 = 0;const I64: i64 = 0;const ISIZE: isize = 0;fn to_i8() -> i8fn to_i16() -> i16fn to_i32() -> i32fn to_i64() -> i64fn to_isize() -> isize
impl Max for Z0
type Output = Z0;fn max(self, Z0) -> Self::Output
impl Min for Z0
type Output = Z0;fn min(self, Z0) -> Self::Output
impl Mul<ATerm> for Z0
type Output = ATerm;fn mul(self, ATerm) -> Self::Output
impl Neg for Z0
type Output = Z0;fn neg(self) -> Self::Output
impl Ord for Z0
fn cmp(&self, other: &Self) -> Ordering
impl PartialEq for Z0
fn eq(&self, other: &Self) -> bool
impl PartialOrd for Z0
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
impl Pow<Z0> for Z0
type Output = PInt<UInt<UTerm, B1>>;fn powi(self, Z0) -> Self::Output
impl StructuralPartialEq for Z0
impl Sub for Z0
type Output = Z0;fn sub(self, Z0) -> Self::Output
impl ToInt<i16> for Z0
fn to_int() -> i16const INT: i16 = Self::I16;
impl ToInt<i32> for Z0
fn to_int() -> i32const INT: i32 = Self::I32;
impl ToInt<i64> for Z0
fn to_int() -> i64const INT: i64 = Self::I64;
impl ToInt<i8> for Z0
fn to_int() -> i8const INT: i8 = Self::I8;
impl ToInt<isize> for Z0
fn to_int() -> isizeconst INT: isize = Self::ISIZE;
impl Zero for Z0
impl<I: Integer + NonZero> Div<I> for Z0
type Output = Z0;fn div(self, I) -> Self::Output
impl<I: Integer + NonZero> Rem<I> for Z0
type Output = Z0;fn rem(self, I) -> Self::Output
impl<I: Integer> Add<I> for Z0
type Output = I;fn add(self, rhs: I) -> Self::Output
impl<I: Integer> Mul<I> for Z0
type Output = Z0;fn mul(self, I) -> Self::Output
impl<U> Gcd<NInt<U>> for Z0
where
U: Unsigned + NonZero,
type Output = PInt<U>;
impl<U> Gcd<PInt<U>> for Z0
where
U: Unsigned + NonZero,
type Output = PInt<U>;
impl<U> Max<NInt<U>> for Z0
where
U: Unsigned + NonZero,
type Output = Z0;fn max(self, NInt<U>) -> Self::Output
impl<U> Max<PInt<U>> for Z0
where
U: Unsigned + NonZero,
type Output = PInt<U>;fn max(self, rhs: PInt<U>) -> Self::Output
impl<U> Min<NInt<U>> for Z0
where
U: Unsigned + NonZero,
type Output = NInt<U>;fn min(self, rhs: NInt<U>) -> Self::Output
impl<U> Min<PInt<U>> for Z0
where
U: Unsigned + NonZero,
type Output = Z0;fn min(self, PInt<U>) -> Self::Output
impl<U: Unsigned + NonZero> Cmp<NInt<U>> for Z0
type Output = Greater;
impl<U: Unsigned + NonZero> Cmp<PInt<U>> for Z0
type Output = Less;
impl<U: Unsigned + NonZero> Pow<NInt<U>> for Z0
type Output = Z0;fn powi(self, NInt<U>) -> Self::Output
impl<U: Unsigned + NonZero> Pow<PInt<U>> for Z0
type Output = Z0;fn powi(self, PInt<U>) -> Self::Output
impl<U: Unsigned + NonZero> Sub<NInt<U>> for Z0
type Output = PInt<U>;fn sub(self, NInt<U>) -> Self::Output
impl<U: Unsigned + NonZero> Sub<PInt<U>> for Z0
type Output = NInt<U>;fn sub(self, PInt<U>) -> Self::Output
impl<V, A> Mul<TArr<V, A>> for Z0
where
Z0: Mul<A>,
type Output = TArr<Z0, <Z0 as Mul<A>>::Output>;fn mul(self, rhs: TArr<V, A>) -> Self::Output