Enum linux_info::unit::DataSizeUnit
source · 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 copy 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
source§fn eq(&self, other: &DataSizeUnit) -> bool
fn eq(&self, other: &DataSizeUnit) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DataSizeUnit
impl Eq for DataSizeUnit
impl StructuralPartialEq for DataSizeUnit
Auto Trait Implementations§
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