[−][src]Enum discrete::Select
Selects between spaces.
Variants
Fst(T)
The first space.
Snd(U)
The second space.
Trait Implementations
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>,
impl<T: Ord, U: Ord> Ord for Select<T, U>
[src]
fn cmp(&self, other: &Select<T, U>) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
fn clamp(self, min: Self, max: Self) -> Self
[src]
🔬 This is a nightly-only experimental API. (
clamp
)Restrict a value to a certain interval. Read more
impl<T: PartialEq, U: PartialEq> PartialEq<Select<T, U>> for Select<T, U>
[src]
impl<T: PartialOrd, U: PartialOrd> PartialOrd<Select<T, U>> for Select<T, U>
[src]
fn partial_cmp(&self, other: &Select<T, U>) -> Option<Ordering>
[src]
fn lt(&self, other: &Select<T, U>) -> bool
[src]
fn le(&self, other: &Select<T, U>) -> bool
[src]
fn gt(&self, other: &Select<T, U>) -> bool
[src]
fn ge(&self, other: &Select<T, U>) -> bool
[src]
impl<T: Eq, U: Eq> Eq for Select<T, U>
[src]
impl<T: Clone, U: Clone> Clone for Select<T, U>
[src]
fn clone(&self) -> Select<T, U>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T: Hash, U: Hash> Hash for Select<T, U>
[src]
fn hash<__HTU: Hasher>(&self, state: &mut __HTU)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<T: Debug, U: Debug> Debug for Select<T, U>
[src]
Auto Trait Implementations
impl<T, U> Send for Select<T, U> where
T: Send,
U: Send,
T: Send,
U: Send,
impl<T, U> Sync for Select<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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,