Module prodash::unit [−][src]
Modules
display | Various utilities to display values and units. |
human |
Structs
Bytes | A marker for formatting numbers as bytes in renderers. |
Duration | A marker for formatting numbers as duration in renderers, as in |
Human | A helper for formatting numbers in a format easily read by humans in renderers, as in |
Range | A helper for formatting numbers representing ranges in renderers as in |
Unit | A configurable and flexible unit for use in Progress::init(). |
Enums
Kind | Either a static label or a dynamic one implementing |
Traits
DisplayValue | A trait to encapsulate all capabilities needed to display a value with unit within a renderer. |
Functions
dynamic | Returns a unit that is a dynamic |
dynamic_and_mode | Returns a unit that is a dynamic |
label | Returns a unit that is a static |
label_and_mode | Returns a unit that is a static |