pub trait ExtByte {
    fn B(self) -> Byte;
    fn kB(self) -> KiloByte;
    fn MB(self) -> MegaByte;
    fn GB(self) -> GigaByte;
}
Expand description

Extension trait that adds convenience methods to the u32 type

Required Methods

Wrap in Byte

Wrap in KiloByte

Wrap in MegaByte

Wrap in GigaByte

Implementations on Foreign Types

Implementors