Enum pw_format::MinFieldWidth
source · pub enum MinFieldWidth {
None,
Fixed(u32),
Variable,
}
Expand description
A printf minimum field width (the 5 in %5d).
Variants§
None
No field width specified.
Fixed(u32)
Fixed field with.
Variable
Variable field width passed as an argument (i.e. %*d).
Trait Implementations§
source§impl Clone for MinFieldWidth
impl Clone for MinFieldWidth
source§fn clone(&self) -> MinFieldWidth
fn clone(&self) -> MinFieldWidth
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MinFieldWidth
impl Debug for MinFieldWidth
source§impl PartialEq for MinFieldWidth
impl PartialEq for MinFieldWidth
source§fn eq(&self, other: &MinFieldWidth) -> bool
fn eq(&self, other: &MinFieldWidth) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MinFieldWidth
impl StructuralPartialEq for MinFieldWidth
Auto Trait Implementations§
impl RefUnwindSafe for MinFieldWidth
impl Send for MinFieldWidth
impl Sync for MinFieldWidth
impl Unpin for MinFieldWidth
impl UnwindSafe for MinFieldWidth
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