Enum typenum::int::Z0 [] [src]

pub enum Z0 {}

The type-level signed integer 0.

Trait Implementations

impl PartialEq for Z0

fn eq(&self, _: &Self) -> bool

fn ne(&self, other: &Rhs) -> bool

impl Eq for Z0

impl PartialOrd for Z0

fn partial_cmp(&self, _: &Self) -> Option<Ordering>

fn lt(&self, other: &Rhs) -> bool

fn le(&self, other: &Rhs) -> bool

fn gt(&self, other: &Rhs) -> bool

fn ge(&self, other: &Rhs) -> bool

impl Ord for Z0

fn cmp(&self, _: &Self) -> Ordering

impl Clone for Z0

fn clone(&self) -> Self

fn clone_from(&mut self, source: &Self)

impl Copy for Z0

impl Hash for Z0

fn hash<H>(&self, _: &mut H) where H: Hasher

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Default for Z0

fn default() -> Self

impl Debug for Z0

fn fmt(&self, _: &mut Formatter) -> Result<(), Error>

impl Integer for Z0

fn to_i8() -> i8

fn to_i16() -> i16

fn to_i32() -> i32

fn to_i64() -> i64

fn to_isize() -> isize

impl Neg for Z0

-Z0 = Z0

type Output = Z0

fn neg(self) -> Self::Output

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

Z0 + I = I

type Output = I

fn add(self, _: I) -> Self::Output

impl Sub<Z0> for Z0

Z0 - Z0 = Z0

type Output = Z0

fn sub(self, _: Z0) -> Self::Output

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

Z0 - P = N

type Output = NInt<U>

fn sub(self, _: PInt<U>) -> Self::Output

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

Z0 - N = P

type Output = PInt<U>

fn sub(self, _: NInt<U>) -> Self::Output

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

Z0 * I = Z0

type Output = Z0

fn mul(self, _: I) -> Self::Output

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

Z0 / I = Z0 where I != 0

type Output = Z0

fn div(self, _: I) -> Self::Output

impl Cmp<Z0> for Z0

0 == 0

type Output = Equal

impl<U: Unsigned + NonZero> Cmp<NInt<U>> for Z0

0 > -X

type Output = Greater

impl<U: Unsigned + NonZero> Cmp<PInt<U>> for Z0

0 < X

type Output = Less

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

Z0 % I = Z0 where I != 0

type Output = Z0

fn rem(self, _: I) -> Self::Output

impl Pow<Z0> for Z0

00 = 1

type Output = P1

impl<U: Unsigned + NonZero> Pow<PInt<U>> for Z0

0P = 0

type Output = Z0

impl<U: Unsigned + NonZero> Pow<NInt<U>> for Z0

0N = 0

type Output = Z0