enum Padding {
Default,
Spaces,
None,
Zeroes,
}
Variants§
Default
The default padding for a numeric component. Indicated by no character.
Spaces
Pad a numeric component with spaces. Indicated by an underscore.
None
Do not pad a numeric component. Indicated by a hyphen.
Zeroes
Pad a numeric component with zeroes. Indicated by a zero.
Trait Implementations§
impl Copy for Padding
impl StructuralPartialEq for Padding
Auto Trait Implementations§
impl Freeze for Padding
impl RefUnwindSafe for Padding
impl Send for Padding
impl Sync for Padding
impl Unpin for Padding
impl UnwindSafe for Padding
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