[][src]Struct discrete::Either

pub struct Either<T, U>(_, _);

Selects between two spaces.

Trait Implementations

impl<T, U> Construct for Either<T, U> where
    T: Construct,
    U: Construct
[src]

impl<T, U, V, W> Count<(V, W)> for Either<T, U> where
    T: Construct + Count<V>,
    U: Construct + Count<W>, 
[src]

impl<T, U, V, W, X, Y> ToIndex<(V, W), Select<X, Y>> for Either<T, U> where
    T: Construct + Count<V> + ToIndex<V, X>,
    U: Construct + ToIndex<W, Y>, 
[src]

impl<T, U, V, W, X, Y> ToPos<(V, W), Select<X, Y>> for Either<T, U> where
    T: Construct + Count<V> + ToPos<V, X> + Zero<V, X>,
    U: Construct + ToPos<W, Y> + Zero<W, Y>, 
[src]

impl<T, U, V, W, X, Y> Zero<(V, W), Select<X, Y>> for Either<T, U> where
    T: Construct + Zero<V, X>, 
[src]

Auto Trait Implementations

impl<T, U> Send for Either<T, U> where
    T: Send,
    U: Send

impl<T, U> Sync for Either<T, U> where
    T: Sync,
    U: Sync

Blanket Implementations

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

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

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.

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

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

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