Struct size_format::BinaryPrefixes [−][src]
pub struct BinaryPrefixes;
Represents the prefixes used for display file sizes using powers of 1024.
Trait Implementations
impl PrefixType for BinaryPrefixes
[src]
impl PrefixType for BinaryPrefixes
type N = U9
The number of prefixes in the prefix array.
const PREFIX_SIZE: u32
PREFIX_SIZE: u32 = 1024
Returns the size of the prefix used. Read more
fn prefixes() -> GenericArray<&'static str, Self::N>
[src]
fn prefixes() -> GenericArray<&'static str, Self::N>
Represents the prefixes used by the prefix type.
Auto Trait Implementations
impl Send for BinaryPrefixes
impl Send for BinaryPrefixes
impl Sync for BinaryPrefixes
impl Sync for BinaryPrefixes