[src]

Enum std::fmt::parse::Count

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

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

The count is specified explicitly.

CountIsName

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

CountIsParam

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

CountIsNextParam

The count is specified by the next parameter.

CountImplied

The count is implied and cannot be explicitly specified.

Trait Implementations

Derived Implementations

impl<'a> Eq for Count<'a>

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

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