[−][src]Module humansize::file_size_opts
Describes the struct that holds the options needed by the file_size
method.
The three most common formats are provided as constants to be used easily
Structs
FileSizeOpts | Holds the options for the |
Enums
FixedAt | Forces a certain representation of the resulting file size. |
Kilo | Holds the standard to use when displying the size. |
Constants
BINARY | Options to display sizes in the binary format. |
CONVENTIONAL | Options to display sizes in the "conventional" format.
This 1024 as the value of the |
DECIMAL | Options to display sizes in the decimal format. |