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 !=
.