Enum adapton::catalog::collections::NameElse [] [src]

pub enum NameElse<X> {
    Name(Name),
    Else(X),
}

Variants

Trait Implementations

impl<X: Debug> Debug for NameElse<X>
[src]

Formats the value using the given formatter.

impl<X: Clone> Clone for NameElse<X>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<X: PartialEq> PartialEq for NameElse<X>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<X: Eq> Eq for NameElse<X>
[src]

impl<X: Hash> Hash for NameElse<X>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more