Struct git_features::progress::unit::human::Formatter [−][src]
pub struct Formatter { /* fields omitted */ }
Entry point to the lib. Use this to handle your formatting needs.
Implementations
impl Formatter
[src]
impl Formatter
[src]pub fn with_decimals(&mut self, decimals: usize) -> &mut Formatter
[src]
pub fn with_decimals(&mut self, decimals: usize) -> &mut Formatter
[src]Sets the decimals value for formatting the string.
pub fn with_separator(&mut self, separator: &str) -> &mut Formatter
[src]
pub fn with_separator(&mut self, separator: &str) -> &mut Formatter
[src]Sets the separator value for formatting the string.
pub fn with_scales(&mut self, scales: Scales) -> &mut Formatter
[src]
pub fn with_scales(&mut self, scales: Scales) -> &mut Formatter
[src]Sets the scales value.
pub fn with_units(&mut self, units: &str) -> &mut Formatter
[src]
pub fn with_units(&mut self, units: &str) -> &mut Formatter
[src]Sets the units value.
pub fn with_suffix(&mut self, suffix: &str) -> &mut Formatter
[src]
pub fn with_suffix(&mut self, suffix: &str) -> &mut Formatter
[src]Sets the expected suffix value.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Formatter
impl Send for Formatter
impl Sync for Formatter
impl Unpin for Formatter
impl UnwindSafe for Formatter
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self