pub struct Range {
pub name: &'static str,
}Expand description
A helper for formatting numbers representing ranges in renderers as in 2 of 5 steps.
Fields
name: &'static strThe name of the unit to be appended to the range.
Implementations
Trait Implementations
Display the absolute value representing the current progress of an operation and write it to w. Read more
Emit a token to separate two values. Read more
Emit the unit of value to w. Read more
Emit the upper_bound to w. Read more
Emit percentage to w.
fn display_throughput(
&self,
w: &mut dyn Write,
throughput: &Throughput
) -> Result<(), Error>
fn display_throughput(
&self,
w: &mut dyn Write,
throughput: &Throughput
) -> Result<(), Error>
Emit the throughput of an operation to w.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Range
impl UnwindSafe for Range
Blanket Implementations
Mutably borrows from an owned value. Read more