Struct typenum::int::Z0
[−]
[src]
pub struct Z0;
The signed integer 0
Trait Implementations
impl Integer for Z0
[src]
impl Same<Z0> for Z0
[src]
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