Trait fmtsize::FmtSize[][src]

pub trait FmtSize {
    fn fmt_size<F: Format>(self, fmt: F) -> ByteSizeFormatter<F>;
}

Allows formatting of integral values (u64) as human-readable sizes.

Required methods

fn fmt_size<F: Format>(self, fmt: F) -> ByteSizeFormatter<F>[src]

Format a memory size value according to a given format provider.

The formatter resulting from this call is lazy.

Loading content...

Implementations on Foreign Types

impl FmtSize for u64[src]

Loading content...

Implementors

Loading content...