Struct git_repository::progress::unit::display::UnitDisplay
[−]pub struct UnitDisplay<'a> { /* private fields */ }
Expand description
A utility to implement Display.
Implementations
impl<'a> UnitDisplay<'a>
impl<'a> UnitDisplay<'a>
pub fn all(&mut self) -> &UnitDisplay<'a>
pub fn all(&mut self) -> &UnitDisplay<'a>
Display everything, values and the unit.
pub fn values(&mut self) -> &UnitDisplay<'a>
pub fn values(&mut self) -> &UnitDisplay<'a>
Display only values.
pub fn unit(&mut self) -> &UnitDisplay<'a>
pub fn unit(&mut self) -> &UnitDisplay<'a>
Display only units.
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for UnitDisplay<'a>
impl<'a> Send for UnitDisplay<'a>
impl<'a> Sync for UnitDisplay<'a>
impl<'a> Unpin for UnitDisplay<'a>
impl<'a> !UnwindSafe for UnitDisplay<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> ToCompactString for T where
T: Display,
impl<T> ToCompactString for T where
T: Display,
fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a [CompactString
]. Read more