Struct dialectic::unary::Z[][src]

pub struct Z;

The number zero.

Examples

use dialectic::unary::Z;

let zero: Z = Z;

Trait Implementations

impl Clone for Z[src]

impl Copy for Z[src]

impl Debug for Z[src]

impl Default for Z[src]

impl Eq for Z[src]

impl Hash for Z[src]

impl<N: Unary> LessThan<S<N>> for Z[src]

impl Ord for Z[src]

impl PartialEq<Z> for Z[src]

impl PartialOrd<Z> for Z[src]

impl<T, Rest> Select<Z> for (T, Rest)[src]

type Selected = T

The thing which is selected from this list by the index N.

type Remainder = Rest

The list with the selected thing removed.

impl StructuralEq for Z[src]

impl StructuralPartialEq for Z[src]

impl ToConstant for Z[src]

type AsConstant = Number<0usize>

The result of conversion.

impl Unary for Z[src]

Auto Trait Implementations

impl RefUnwindSafe for Z

impl Send for Z

impl Sync for Z

impl Unpin for Z

impl UnwindSafe for Z

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<'a, T, S> As<'a, Val, T> for S where
    S: Into<T>, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'a, T> By<'a, Mut> for T where
    T: 'a, 
[src]

type Type = &'a mut T

The type of Self when called by Convention.

impl<'a, T> By<'a, Ref> for T where
    T: 'a, 
[src]

type Type = &'a T

The type of Self when called by Convention.

impl<'a, T> By<'a, Val> for T[src]

type Type = T

The type of Self when called by Convention.

impl<'a, T> Convert<'a, Mut, Mut> for T where
    T: 'a, 
[src]

impl<'a, T> Convert<'a, Mut, Ref> for T where
    T: 'a, 
[src]

impl<'a, T> Convert<'a, Mut, Val> for T where
    T: 'a + Clone
[src]

impl<'a, T> Convert<'a, Ref, Ref> for T where
    T: 'a, 
[src]

impl<'a, T> Convert<'a, Ref, Val> for T where
    T: 'a + Clone
[src]

impl<'a, T> Convert<'a, Val, Val> for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.