enum PositionalNamedArgType {
Arg,
Width,
Precision,
}
Expand description
Indicates how positional named argument (i.e. an named argument which is used by position instead of by name) is used in format string
Arg
is the actual argument to printWidth
is width format argumentPrecision
is precion format argument Example: `{Arg:Width$.Precision$}
Variants
Arg
Width
Precision
Trait Implementations
sourceimpl Debug for PositionalNamedArgType
impl Debug for PositionalNamedArgType
sourceimpl PartialEq<PositionalNamedArgType> for PositionalNamedArgType
impl PartialEq<PositionalNamedArgType> for PositionalNamedArgType
sourcefn eq(&self, other: &PositionalNamedArgType) -> bool
fn eq(&self, other: &PositionalNamedArgType) -> bool
impl Eq for PositionalNamedArgType
impl StructuralEq for PositionalNamedArgType
impl StructuralPartialEq for PositionalNamedArgType
Auto Trait Implementations
impl RefUnwindSafe for PositionalNamedArgType
impl Send for PositionalNamedArgType
impl Sync for PositionalNamedArgType
impl Unpin for PositionalNamedArgType
impl UnwindSafe for PositionalNamedArgType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn 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: 1 byte
Size for each variant:
Arg
: 0 bytesWidth
: 0 bytesPrecision
: 0 bytes