Enum libparted_sys::PedUnit [−][src]
#[repr(u32)]
#[non_exhaustive]
pub enum PedUnit {
Show 14 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,
}Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PedUnit
impl UnwindSafe for PedUnit
Blanket Implementations
Mutably borrows from an owned value. Read more