Struct git_repository::progress::unit::display::UnitDisplay
source · pub struct UnitDisplay<'a> { /* private fields */ }
Expand description
A utility to implement Display.
Implementations§
source§impl<'a> UnitDisplay<'a>
impl<'a> UnitDisplay<'a>
sourcepub fn all(&mut self) -> &UnitDisplay<'a>
pub fn all(&mut self) -> &UnitDisplay<'a>
Display everything, values and the unit.
sourcepub fn values(&mut self) -> &UnitDisplay<'a>
pub fn values(&mut self) -> &UnitDisplay<'a>
Display only values.
sourcepub 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§
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere T: Display,
§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a [
CompactString
]. Read more