pub enum SizeStandard {
SI,
IEC,
}Expand description
Standard for file size units
文件大小单位标准
Variants§
SI
SI standard (base-1000, units: KB, MB)
SI 标准 (base-1000, 单位 KB, MB)
IEC
IEC standard (base-1024, units: KiB, MiB)
IEC 标准 (base-1024, 单位 KiB, MiB)
Trait Implementations§
Source§impl Clone for SizeStandard
impl Clone for SizeStandard
Source§fn clone(&self) -> SizeStandard
fn clone(&self) -> SizeStandard
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 SizeStandard
impl Debug for SizeStandard
impl Copy for SizeStandard
Auto Trait Implementations§
impl Freeze for SizeStandard
impl RefUnwindSafe for SizeStandard
impl Send for SizeStandard
impl Sync for SizeStandard
impl Unpin for SizeStandard
impl UnwindSafe for SizeStandard
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