Enum fmt_macros::Position
[−]
[src]
pub enum Position<'a> { ArgumentNext, ArgumentIs(usize), ArgumentNamed(&'a str), }
Unstable (
rustc_private
)Enum describing where an argument for a format can be located.
Variants
ArgumentNext
Unstable (
rustc_private
)The argument will be in the next position. This is the default.
ArgumentIs(usize)
Unstable (
rustc_private
)The argument is located at a specific index.
ArgumentNamed(&'a str)
Unstable (
rustc_private
)The argument has a name.
Trait Implementations
Derived Implementations
impl<'a> PartialEq for Position<'a>
[src]
fn eq(&self, __arg_0: &Position<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Position<'a>) -> bool
This method tests for !=
.
impl<'a> Clone for Position<'a>
[src]
fn clone(&self) -> Position<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more