pub enum TypeSelection<T> {
Reverse,
Any,
Type(Type<T>),
}
Variants
Reverse
Any
Type(Type<T>)
Trait Implementations
sourceimpl<T> Clone for TypeSelection<T>where
T: Clone,
impl<T> Clone for TypeSelection<T>where
T: Clone,
sourcefn clone(&self) -> TypeSelection<T>
fn clone(&self) -> TypeSelection<T>
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<T> Debug for TypeSelection<T>where
T: Debug,
impl<T> Debug for TypeSelection<T>where
T: Debug,
sourceimpl<T> PartialEq<TypeSelection<T>> for TypeSelection<T>where
T: PartialEq<T>,
impl<T> PartialEq<TypeSelection<T>> for TypeSelection<T>where
T: PartialEq<T>,
sourcefn eq(&self, other: &TypeSelection<T>) -> bool
fn eq(&self, other: &TypeSelection<T>) -> bool
impl<T> Eq for TypeSelection<T>where
T: Eq,
impl<T> StructuralEq for TypeSelection<T>
impl<T> StructuralPartialEq for TypeSelection<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for TypeSelection<T>where
T: RefUnwindSafe,
impl<T> Send for TypeSelection<T>where
T: Send,
impl<T> Sync for TypeSelection<T>where
T: Sync,
impl<T> Unpin for TypeSelection<T>where
T: Unpin,
impl<T> UnwindSafe for TypeSelection<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> BorrowStripped for T
impl<T> BorrowStripped for T
sourceimpl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
fn equivalent(&self, key: &K) -> bool
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.