Enum rustc_parse_format::Count [−][src]
Expand description
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.
Tuple Fields of CountIs
0: usize
CountIsName(Symbol)
The count is specified by the argument with the given name.
Tuple Fields of CountIsName
0: Symbol
CountIsParam(usize)
The count is specified by the argument at the given index.
Tuple Fields of CountIsParam
0: usize
The count is implied and cannot be explicitly specified.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Count
impl UnwindSafe for Count
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes
Size for each variant:
CountIs
: 12 bytesCountIsName
: 4 bytesCountIsParam
: 12 bytesCountImplied
: 0 bytes