Enum libparted_sys::_PedPartitionFlag
source · #[repr(u32)]
#[non_exhaustive]
pub enum _PedPartitionFlag {
Show 20 variants
PED_PARTITION_BOOT,
PED_PARTITION_ROOT,
PED_PARTITION_SWAP,
PED_PARTITION_HIDDEN,
PED_PARTITION_RAID,
PED_PARTITION_LVM,
PED_PARTITION_LBA,
PED_PARTITION_HPSERVICE,
PED_PARTITION_PALO,
PED_PARTITION_PREP,
PED_PARTITION_MSFT_RESERVED,
PED_PARTITION_BIOS_GRUB,
PED_PARTITION_APPLE_TV_RECOVERY,
PED_PARTITION_DIAG,
PED_PARTITION_LEGACY_BOOT,
PED_PARTITION_MSFT_DATA,
PED_PARTITION_IRST,
PED_PARTITION_ESP,
PED_PARTITION_CHROMEOS_KERNEL,
PED_PARTITION_BLS_BOOT,
}
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_BOOT
PED_PARTITION_ROOT
PED_PARTITION_SWAP
PED_PARTITION_HIDDEN
PED_PARTITION_RAID
PED_PARTITION_LVM
PED_PARTITION_LBA
PED_PARTITION_HPSERVICE
PED_PARTITION_PALO
PED_PARTITION_PREP
PED_PARTITION_MSFT_RESERVED
PED_PARTITION_BIOS_GRUB
PED_PARTITION_APPLE_TV_RECOVERY
PED_PARTITION_DIAG
PED_PARTITION_LEGACY_BOOT
PED_PARTITION_MSFT_DATA
PED_PARTITION_IRST
PED_PARTITION_ESP
PED_PARTITION_CHROMEOS_KERNEL
PED_PARTITION_BLS_BOOT
Trait Implementations§
source§impl Clone for _PedPartitionFlag
impl Clone for _PedPartitionFlag
source§fn clone(&self) -> _PedPartitionFlag
fn clone(&self) -> _PedPartitionFlag
Returns a copy 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 _PedPartitionFlag
impl Debug for _PedPartitionFlag
source§impl Hash for _PedPartitionFlag
impl Hash for _PedPartitionFlag
source§impl PartialEq<_PedPartitionFlag> for _PedPartitionFlag
impl PartialEq<_PedPartitionFlag> for _PedPartitionFlag
source§fn eq(&self, other: &_PedPartitionFlag) -> bool
fn eq(&self, other: &_PedPartitionFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for _PedPartitionFlag
impl Eq for _PedPartitionFlag
impl StructuralEq for _PedPartitionFlag
impl StructuralPartialEq for _PedPartitionFlag
Auto Trait Implementations§
impl RefUnwindSafe for _PedPartitionFlag
impl Send for _PedPartitionFlag
impl Sync for _PedPartitionFlag
impl Unpin for _PedPartitionFlag
impl UnwindSafe for _PedPartitionFlag
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