Enum adapton::catalog::collections::NameElse
[−]
[src]
pub enum NameElse<X> { Name(Name), Else(X), }
Variants
Name(Name)
Else(X)
Trait Implementations
impl<X: Debug> Debug for NameElse<X>
[src]
impl<X: Clone> Clone for NameElse<X>
[src]
fn clone(&self) -> NameElse<X>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<X: PartialEq> PartialEq for NameElse<X>
[src]
fn eq(&self, __arg_0: &NameElse<X>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &NameElse<X>) -> bool
This method tests for !=
.
impl<X: Eq> Eq for NameElse<X>
[src]
impl<X: Hash> Hash for NameElse<X>
[src]
fn hash<__HX: Hasher>(&self, __arg_0: &mut __HX)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the state provided.