pub struct ByteFormat(pub u64);Expand description
Format integer in SI bytes.
The accuracy is 1 decimal, i.e 999.9T.
Available units are T, G, M, k, B
Tuple Fields§
§0: u64Trait Implementations§
Auto Trait Implementations§
impl Freeze for ByteFormat
impl RefUnwindSafe for ByteFormat
impl Send for ByteFormat
impl Sync for ByteFormat
impl Unpin for ByteFormat
impl UnwindSafe for ByteFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more