pub enum Leading {
None,
Zeros,
Spaces,
}Expand description
Padding that makes all the numbers equally wide.
Variants§
Trait Implementations§
impl Copy for Leading
Source§impl<'de> Deserialize<'de> for Leading
impl<'de> Deserialize<'de> for Leading
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Leading
impl StructuralPartialEq for Leading
Auto Trait Implementations§
impl Freeze for Leading
impl RefUnwindSafe for Leading
impl Send for Leading
impl Sync for Leading
impl Unpin for Leading
impl UnsafeUnpin for Leading
impl UnwindSafe for Leading
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