Enum with_position::Position [] [src]

pub enum Position {
    First,
    Middle,
    Last,
    Only,
}

An enum which indicates the position of an item in an iteration.

Variants

Methods

impl Position
[src]

Trait Implementations

impl Copy for Position
[src]

impl Clone for Position
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Position
[src]

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

This method tests for !=.

impl Eq for Position
[src]

impl Debug for Position
[src]

Formats the value using the given formatter.