#[non_exhaustive]#[repr(u32)]pub enum _PedDiskTypeFeature {
PED_DISK_TYPE_EXTENDED = 1,
PED_DISK_TYPE_PARTITION_NAME = 2,
PED_DISK_TYPE_PARTITION_TYPE_ID = 4,
PED_DISK_TYPE_PARTITION_TYPE_UUID = 8,
PED_DISK_TYPE_DISK_UUID = 16,
PED_DISK_TYPE_PARTITION_UUID = 32,
}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.
PED_DISK_TYPE_EXTENDED = 1
PED_DISK_TYPE_PARTITION_NAME = 2
PED_DISK_TYPE_PARTITION_TYPE_ID = 4
PED_DISK_TYPE_PARTITION_TYPE_UUID = 8
PED_DISK_TYPE_DISK_UUID = 16
PED_DISK_TYPE_PARTITION_UUID = 32
Trait Implementations§
Source§impl Clone for _PedDiskTypeFeature
impl Clone for _PedDiskTypeFeature
Source§fn clone(&self) -> _PedDiskTypeFeature
fn clone(&self) -> _PedDiskTypeFeature
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 _PedDiskTypeFeature
impl Debug for _PedDiskTypeFeature
Source§impl Hash for _PedDiskTypeFeature
impl Hash for _PedDiskTypeFeature
Source§impl PartialEq for _PedDiskTypeFeature
impl PartialEq for _PedDiskTypeFeature
impl Copy for _PedDiskTypeFeature
impl Eq for _PedDiskTypeFeature
impl StructuralPartialEq for _PedDiskTypeFeature
Auto Trait Implementations§
impl Freeze for _PedDiskTypeFeature
impl RefUnwindSafe for _PedDiskTypeFeature
impl Send for _PedDiskTypeFeature
impl Sync for _PedDiskTypeFeature
impl Unpin for _PedDiskTypeFeature
impl UnwindSafe for _PedDiskTypeFeature
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