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]

[src]

Formats the value using the given formatter. Read more

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

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

[src]

This method tests for !=.

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

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

[src]

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

1.3.0
[src]

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

Auto Trait Implementations

impl<X> !Send for NameElse<X>

impl<X> !Sync for NameElse<X>