Enum fmt_macros::Count [] [src]

pub enum Count<'a> {
    CountIs(usize),
    CountIsName(&'a str),
    CountIsParam(usize),
    CountImplied,
}
🔬 This is a nightly-only experimental API. (rustc_private)

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

Variants

🔬 This is a nightly-only experimental API. (rustc_private)

The count is specified explicitly.

🔬 This is a nightly-only experimental API. (rustc_private)

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

🔬 This is a nightly-only experimental API. (rustc_private)

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

🔬 This is a nightly-only experimental API. (rustc_private)

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 !=.