[−][src]Crate size_display
Display human readable file sizes.
Limitation
Displayed units go up to Exabyte (2^60).
Example
use size_display::Size; assert_eq!("24", format!("{}", Size(24))); assert_eq!("4.2G", format!("{:.1}", Size(4509715660)));
Structs
Size | File size type with human-readable |
Constants
EXA | |
GIGA | |
KILO | |
MEGA | |
PETA | |
TERA |