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
CountIs(usize)
The count is specified explicitly.
CountIsName(&'a str)
The count is specified by the argument with the given name.
CountIsParam(usize)
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
impl<'a> Copy for Count<'a>
[src]
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