Struct git_features::progress::unit::Bytes [−][src]
pub struct Bytes;
A marker for formatting numbers as bytes in renderers.
Trait Implementations
impl DisplayValue for Bytes
[src]
impl DisplayValue for Bytes
[src]pub 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>
pub 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>
pub fn display_unit(
&self,
_w: &mut dyn Write,
_value: usize
) -> Result<(), Error>
[src]
&self,
_w: &mut dyn Write,
_value: usize
) -> Result<(), Error>
pub 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>
pub fn display_percentage(
&self,
w: &mut dyn Write,
percentage: f64
) -> Result<(), Error>
[src]
&self,
w: &mut dyn Write,
percentage: f64
) -> Result<(), Error>
pub fn display_throughput(
&self,
w: &mut dyn Write,
throughput: Throughput
) -> Result<(), Error>
[src]
&self,
w: &mut dyn Write,
throughput: Throughput
) -> Result<(), Error>
pub fn fraction_and_time_unit(
&self,
timespan: Duration
) -> (Option<f64>, &'static str)
[src]
&self,
timespan: Duration
) -> (Option<f64>, &'static str)
impl PartialOrd<Bytes> for Bytes
[src]
impl PartialOrd<Bytes> for Bytes
[src]impl StructuralEq for Bytes
[src]
impl StructuralEq for Bytes
[src]impl StructuralPartialEq for Bytes
[src]
impl StructuralPartialEq for Bytes
[src]Auto Trait Implementations
impl RefUnwindSafe for Bytes
impl RefUnwindSafe for Bytes
impl UnwindSafe for Bytes
impl UnwindSafe for Bytes