Module gix_features::progress::unit

source ·
Available on crate feature progress only.
Expand description

Modules§

  • Various utilities to display values and units.
  • humanunit-human

Structs§

  • A marker for formatting numbers as bytes in renderers.
  • A helper for formatting numbers in a format easily read by humans in renderers, as in 2.54 million objects
  • A helper for formatting numbers representing ranges in renderers as in 2 of 5 steps.
  • A configurable and flexible unit for use in Progress::init().

Enums§

Traits§

  • A trait to encapsulate all capabilities needed to display a value with unit within a renderer.

Functions§

  • Returns a unit that is a dynamic label.
  • Returns a unit that is a dynamic label along with information on where to display a fraction and throughput.
  • Returns a unit that is a static label.
  • Returns a unit that is a static label along with information on where to display a fraction and throughput.