[−][src]Crate size_display
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!("{}", Size(4509715660)));
Structs
Size | File size type with human-readable |
Constants
E | |
G | |
K | |
M | |
P | |
T |