[−][src]Struct discrete::Either
Selects between two spaces.
Trait Implementations
impl<T, U> Construct for Either<T, U> where
T: Construct,
U: Construct,
[src]
T: Construct,
U: Construct,
impl<T, U, V, W> Count<(V, W)> for Either<T, U> where
T: Construct + Count<V>,
U: Construct + Count<W>,
[src]
T: Construct + Count<V>,
U: Construct + Count<W>,
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]
T: Construct + Count<V> + ToIndex<V, X>,
U: Construct + ToIndex<W, Y>,
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]
T: Construct + Count<V> + ToPos<V, X> + Zero<V, X>,
U: Construct + ToPos<W, Y> + Zero<W, Y>,
impl<T, U, V, W, X, Y> Zero<(V, W), Select<X, Y>> for Either<T, U> where
T: Construct + Zero<V, X>,
[src]
T: Construct + Zero<V, X>,
Auto Trait Implementations
impl<T, U> Send for Either<T, U> where
T: Send,
U: Send,
T: Send,
U: Send,
impl<T, U> Sync for Either<T, U> where
T: Sync,
U: Sync,
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]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,