#[non_exhaustive]#[repr(u32)]pub enum _PedPartitionType {
PED_PARTITION_NORMAL = 0,
PED_PARTITION_LOGICAL = 1,
PED_PARTITION_EXTENDED = 2,
PED_PARTITION_FREESPACE = 4,
PED_PARTITION_METADATA = 8,
PED_PARTITION_PROTECTED = 16,
}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_PARTITION_NORMAL = 0
PED_PARTITION_LOGICAL = 1
PED_PARTITION_EXTENDED = 2
PED_PARTITION_FREESPACE = 4
PED_PARTITION_METADATA = 8
PED_PARTITION_PROTECTED = 16
Trait Implementations§
Source§impl Clone for _PedPartitionType
impl Clone for _PedPartitionType
Source§fn clone(&self) -> _PedPartitionType
fn clone(&self) -> _PedPartitionType
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 _PedPartitionType
impl Debug for _PedPartitionType
Source§impl Hash for _PedPartitionType
impl Hash for _PedPartitionType
Source§impl PartialEq for _PedPartitionType
impl PartialEq for _PedPartitionType
impl Copy for _PedPartitionType
impl Eq for _PedPartitionType
impl StructuralPartialEq for _PedPartitionType
Auto Trait Implementations§
impl Freeze for _PedPartitionType
impl RefUnwindSafe for _PedPartitionType
impl Send for _PedPartitionType
impl Sync for _PedPartitionType
impl Unpin for _PedPartitionType
impl UnwindSafe for _PedPartitionType
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