Enum syntex_fmt_macros::Count [] [src]

pub enum Count<'a> {
    CountIs(usize),
    CountIsName(&'a str),
    CountIsParam(usize),
    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

The count is specified explicitly.

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

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

The count is specified by the next parameter.

The count is implied and cannot be explicitly specified.

Trait Implementations

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

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

This method tests for !=.