[−][src]Struct git_features::progress::unit::human::Human
Fields
name: &'static str
formatter: Formatter
Implementations
impl Human
[src]
Trait Implementations
impl Debug for Human
[src]
impl DisplayValue for Human
[src]
fn display_current_value(
&self,
w: &mut dyn Write,
value: usize,
_upper: Option<usize>
) -> Result<(), Error>
[src]
&self,
w: &mut dyn Write,
value: usize,
_upper: Option<usize>
) -> Result<(), Error>
fn display_upper_bound(
&self,
w: &mut dyn Write,
upper_bound: usize,
_value: usize
) -> Result<(), Error>
[src]
&self,
w: &mut dyn Write,
upper_bound: usize,
_value: usize
) -> Result<(), Error>
fn display_unit(&self, w: &mut dyn Write, _value: usize) -> Result<(), Error>
[src]
fn separator(
&self,
w: &mut dyn Write,
_value: usize,
_upper: Option<usize>
) -> Result<(), Error>
[src]
&self,
w: &mut dyn Write,
_value: usize,
_upper: Option<usize>
) -> Result<(), Error>
fn display_percentage(
&self,
w: &mut dyn Write,
percentage: f64
) -> Result<(), Error>
[src]
&self,
w: &mut dyn Write,
percentage: f64
) -> Result<(), Error>
fn display_throughput(
&self,
w: &mut dyn Write,
throughput: Throughput
) -> Result<(), Error>
[src]
&self,
w: &mut dyn Write,
throughput: Throughput
) -> Result<(), Error>
fn fraction_and_time_unit(
&self,
timespan: Duration
) -> (Option<f64>, &'static str)
[src]
&self,
timespan: Duration
) -> (Option<f64>, &'static str)
Auto Trait Implementations
impl RefUnwindSafe for Human
impl Send for Human
impl Sync for Human
impl Unpin for Human
impl UnwindSafe for Human
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,