Trait BigByte

Source
pub trait BigByte {
    // Required method
    fn big_byte(&self, precision: usize) -> String;
}
Expand description

Makes a type representable as a byte count.

Required Methods§

Source

fn big_byte(&self, precision: usize) -> String

Represents self as a byte count.

Implementations on Foreign Types§

Source§

impl BigByte for f32

Source§

fn big_byte(&self, precision: usize) -> String

Source§

impl BigByte for f64

Source§

fn big_byte(&self, precision: usize) -> String

Source§

impl BigByte for u8

Source§

fn big_byte(&self, precision: usize) -> String

Source§

impl BigByte for u16

Source§

fn big_byte(&self, precision: usize) -> String

Source§

impl BigByte for u32

Source§

fn big_byte(&self, precision: usize) -> String

Source§

impl BigByte for u64

Source§

fn big_byte(&self, precision: usize) -> String

Source§

impl BigByte for u128

Source§

fn big_byte(&self, precision: usize) -> String

Source§

impl BigByte for usize

Source§

fn big_byte(&self, precision: usize) -> String

Implementors§