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
ArgumentIs(usize)🔬 This is a nightly-only experimental API. (
rustc_private)The argument is located at a specific index.
ArgumentNamed(&'a str)🔬 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]
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