Enum libparted_sys::PedUnit
[−]
[src]
#[repr(u32)]pub enum PedUnit { PED_UNIT_SECTOR, PED_UNIT_BYTE, PED_UNIT_KILOBYTE, PED_UNIT_MEGABYTE, PED_UNIT_GIGABYTE, PED_UNIT_TERABYTE, PED_UNIT_COMPACT, PED_UNIT_CYLINDER, PED_UNIT_CHS, PED_UNIT_PERCENT, PED_UNIT_KIBIBYTE, PED_UNIT_MEBIBYTE, PED_UNIT_GIBIBYTE, PED_UNIT_TEBIBYTE, }
Variants
PED_UNIT_SECTOR
PED_UNIT_BYTE
PED_UNIT_KILOBYTE
PED_UNIT_MEGABYTE
PED_UNIT_GIGABYTE
PED_UNIT_TERABYTE
PED_UNIT_COMPACT
PED_UNIT_CYLINDER
PED_UNIT_CHS
PED_UNIT_PERCENT
PED_UNIT_KIBIBYTE
PED_UNIT_MEBIBYTE
PED_UNIT_GIBIBYTE
PED_UNIT_TEBIBYTE
Trait Implementations
impl Debug for PedUnit
[src]
impl Copy for PedUnit
[src]
impl Clone for PedUnit
[src]
fn clone(&self) -> PedUnit
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for PedUnit
[src]
fn eq(&self, __arg_0: &PedUnit) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.