Enum fmt_macros::Count
[−]
[src]
pub enum Count<'a> {
CountIs(usize),
CountIsName(&'a str),
CountIsParam(usize),
CountIsNextParam,
CountImplied,
}Unstable (
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
CountIs(usize)Unstable (
rustc_private)The count is specified explicitly.
CountIsName(&'a str)Unstable (
rustc_private)The count is specified by the argument with the given name.
CountIsParam(usize)Unstable (
rustc_private)The count is specified by the argument at the given index.
CountIsNextParamUnstable (
rustc_private)The count is specified by the next parameter.
CountImpliedUnstable (
rustc_private)The count is implied and cannot be explicitly specified.
Trait Implementations
Derived Implementations
impl<'a> PartialEq for Count<'a>[src]
fn eq(&self, __arg_0: &Count<'a>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Count<'a>) -> bool
This method tests for !=.
impl<'a> Clone for Count<'a>[src]
fn clone(&self) -> Count<'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