Struct typenum::int::Z0 [] [src]

pub struct Z0;

The signed integer 0

Trait Implementations

impl Integer for Z0
[src]

fn to_i8() -> i8

fn to_i16() -> i16

fn to_i32() -> i32

fn to_i64() -> i64

fn to_isize() -> isize

impl Same<Z0> for Z0
[src]

type Output = Z0

Output should always be Self

impl Neg for Z0
[src]

-Z0 = Z0

type Output = Z0

The resulting type after applying the - operator

fn neg(self) -> Self::Output

The method for the unary - operator

impl<I: Integer> Add<I> for Z0
[src]

Z0 + I = I

type Output = I

The resulting type after applying the + operator

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

The method for the + operator

impl Sub<Z0> for Z0
[src]

Z0 - Z0 = Z0

type Output = Z0

The resulting type after applying the - operator

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

The method for the - operator

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

Z0 - P = N

type Output = NInt<U>

The resulting type after applying the - operator

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

The method for the - operator

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

Z0 - N = P

type Output = PInt<U>

The resulting type after applying the - operator

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

The method for the - operator

impl<I: Integer> Mul<I> for Z0
[src]

Z0 * I = Z0

type Output = Z0

The resulting type after applying the * operator

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

The method for the * operator

impl<I: Integer + NonZero> Div<I> for Z0
[src]

Z0 / I = Z0 where I != 0

type Output = Z0

The resulting type after applying the / operator

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

The method for the / operator