Enum rustc_parse_format::Position [−][src]
Expand description
Enum describing where an argument for a format can be located.
Variants
ArgumentImplicitlyIs(usize)
Tuple Fields
0: usizeThe argument is implied to be located at an index
ArgumentIs(usize)
Tuple Fields
0: usizeThe argument is located at a specific index given in the format
ArgumentNamed(Symbol)
Tuple Fields
0: SymbolThe argument has a name.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Position
impl UnwindSafe for Position
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:
ArgumentImplicitlyIs: 12 bytesArgumentIs: 12 bytesArgumentNamed: 4 bytes
