Enum rustc_builtin_macros::format_foreign::printf::Num
source · pub enum Num {
Num(u16),
Arg(u16),
Next,
}
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
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: 4 bytes
Size for each variant:
Num
: 2 bytesArg
: 2 bytesNext
: 0 bytes