pub enum DataSizeUnit {
B,
Kb,
Mb,
Gb,
Tb,
}
Variants§
Trait Implementations§
Source§impl Clone for DataSizeUnit
impl Clone for DataSizeUnit
Source§fn clone(&self) -> DataSizeUnit
fn clone(&self) -> DataSizeUnit
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DataSizeUnit
impl Debug for DataSizeUnit
Source§impl PartialEq for DataSizeUnit
impl PartialEq for DataSizeUnit
impl Copy for DataSizeUnit
impl Eq for DataSizeUnit
impl StructuralPartialEq for DataSizeUnit
Auto Trait Implementations§
impl Freeze for DataSizeUnit
impl RefUnwindSafe for DataSizeUnit
impl Send for DataSizeUnit
impl Sync for DataSizeUnit
impl Unpin for DataSizeUnit
impl UnwindSafe for DataSizeUnit
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