Enum fmt_macros::Position [] [src]

pub enum Position<'a> {
    ArgumentIs(usize),
    ArgumentNamed(&'a str),
}
🔬 This is a nightly-only experimental API. (rustc_private)

Enum describing where an argument for a format can be located.

Variants

🔬 This is a nightly-only experimental API. (rustc_private)

The argument is located at a specific index.

🔬 This is a nightly-only experimental API. (rustc_private)

The argument has a name.

Trait Implementations

impl<'a> Copy for Position<'a>
[src]

impl<'a> Clone for Position<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> PartialEq for Position<'a>
[src]

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

This method tests for !=.