pub enum Precision {
None,
Fixed(u32),
Variable,
}
Expand description
A printf precision (the .5 in %.5d).
For string conversions (%s) this is treated as the maximum number of bytes of the string to output.
Variants§
None
No precision specified.
Fixed(u32)
Fixed precision.
Variable
Variable precision passed as an argument (i.e. %.*f).
Trait Implementations§
source§impl PartialEq for Precision
impl PartialEq for Precision
impl Eq for Precision
impl StructuralPartialEq for Precision
Auto Trait Implementations§
impl RefUnwindSafe for Precision
impl Send for Precision
impl Sync for Precision
impl Unpin for Precision
impl UnwindSafe for Precision
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