Enum fmt_macros::Count [−] [src]

pub enum Count<'a> {
    CountIs(usize),
    CountIsName(&'a str),
    CountIsParam(usize),
    CountIsNextParam,
    CountImplied,
}
Unstable

A count is used for the precision and width parameters of an integer, and can reference either an argument or a literal integer.

Variants

CountIs
Unstable

The count is specified explicitly.

CountIsName
Unstable

The count is specified by the argument with the given name.

CountIsParam
Unstable

The count is specified by the argument at the given index.

CountIsNextParam
Unstable

The count is specified by the next parameter.

CountImplied
Unstable

The count is implied and cannot be explicitly specified.

Trait Implementations

Derived Implementations

impl<'a> PartialEq for Count<'a>

fn eq(&self, __arg_0: &Count<'a>) -> bool

fn ne(&self, __arg_0: &Count<'a>) -> bool

impl<'a> Clone for Count<'a>

fn clone(&self) -> Count<'a>

fn clone_from(&mut self, source: &Self)

impl<'a> Copy for Count<'a>