Enum rustc_builtin_macros::format_foreign::printf::Num
source · Expand description
A general number used in a printf
formatting directive.
Variants§
Num(u16)
A specific, fixed value.
Arg(u16)
The value is derived from a positional argument.
Next
The value is derived from the “next” unconverted argument.
Implementations§
Trait Implementations§
impl Copy for Num
impl StructuralPartialEq for Num
Auto Trait Implementations§
impl RefUnwindSafe for Num
impl Send for Num
impl Sync for Num
impl Unpin for Num
impl UnwindSafe for Num
Blanket Implementations§
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: 4 bytes
Size for each variant:
Num
: 2 bytesArg
: 2 bytesNext
: 0 bytes