pub struct FieldSpec {
pub width: Option<usize>,
pub left_justify: bool,
pub zero_pad: bool,
}Expand description
The flags and field width between % and a conversion character.
Fields§
§width: Option<usize>§left_justify: bool-: pad on the right when flag parsing is enabled.
zero_pad: boolA leading 0 digit: pad numbers with zeros.
Implementations§
Trait Implementations§
impl Copy for FieldSpec
impl Eq for FieldSpec
impl StructuralPartialEq for FieldSpec
Auto Trait Implementations§
impl Freeze for FieldSpec
impl RefUnwindSafe for FieldSpec
impl Send for FieldSpec
impl Sync for FieldSpec
impl Unpin for FieldSpec
impl UnsafeUnpin for FieldSpec
impl UnwindSafe for FieldSpec
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