pub struct PrefixFormat { /* private fields */ }
Implementations§
Source§impl PrefixFormat
impl PrefixFormat
pub fn new() -> Self
pub fn with_width(self, width: usize) -> Self
pub fn with_precision(self, precision: usize) -> Self
Trait Implementations§
Source§impl Clone for PrefixFormat
impl Clone for PrefixFormat
Source§fn clone(&self) -> PrefixFormat
fn clone(&self) -> PrefixFormat
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 PrefixFormat
impl Debug for PrefixFormat
Source§impl Default for PrefixFormat
impl Default for PrefixFormat
Source§fn default() -> PrefixFormat
fn default() -> PrefixFormat
Returns the “default value” for a type. Read more
impl Copy for PrefixFormat
Auto Trait Implementations§
impl Freeze for PrefixFormat
impl RefUnwindSafe for PrefixFormat
impl Send for PrefixFormat
impl Sync for PrefixFormat
impl Unpin for PrefixFormat
impl UnwindSafe for PrefixFormat
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