Enum iodyn::raz_meta::Position [] [src]

pub enum Position<I> {
    Left,
    Right,
    Center(I),
}

A common pattern for indexes

Exposes the common left and right cases necessary for meta indexes, with a center case that takes a more specific index.

Variants

Trait Implementations

impl<I: Debug> Debug for Position<I>
[src]

Formats the value using the given formatter.

impl<I: Clone> Clone for Position<I>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<I: Eq> Eq for Position<I>
[src]

impl<I: PartialEq> PartialEq for Position<I>
[src]

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

This method tests for !=.

impl<I: Hash> Hash for Position<I>
[src]

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

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

impl<I> FirstLast for Position<I>
[src]

impl<I> From<I> for Position<I>
[src]

Performs the conversion.