pub struct FileSize { /* private fields */ }Expand description
This is just a wrapper around a u64 so that we can implement our own Display trait for our
file sizes.
Implementations§
Trait Implementations§
Source§impl Ord for FileSize
impl Ord for FileSize
Source§impl PartialOrd for FileSize
impl PartialOrd for FileSize
impl Copy for FileSize
impl Eq for FileSize
impl StructuralPartialEq for FileSize
Auto Trait Implementations§
impl Freeze for FileSize
impl RefUnwindSafe for FileSize
impl Send for FileSize
impl Sync for FileSize
impl Unpin for FileSize
impl UnwindSafe for FileSize
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