Enum libparted_sys::_PedPartitionType
source · #[repr(u32)]
#[non_exhaustive]
pub enum _PedPartitionType {
PED_PARTITION_NORMAL,
PED_PARTITION_LOGICAL,
PED_PARTITION_EXTENDED,
PED_PARTITION_FREESPACE,
PED_PARTITION_METADATA,
PED_PARTITION_PROTECTED,
}
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
PED_PARTITION_LOGICAL
PED_PARTITION_EXTENDED
PED_PARTITION_FREESPACE
PED_PARTITION_METADATA
PED_PARTITION_PROTECTED
Trait Implementations§
source§impl Clone for _PedPartitionType
impl Clone for _PedPartitionType
source§fn clone(&self) -> _PedPartitionType
fn clone(&self) -> _PedPartitionType
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 _PedPartitionType
impl Debug for _PedPartitionType
source§impl Hash for _PedPartitionType
impl Hash for _PedPartitionType
source§impl PartialEq<_PedPartitionType> for _PedPartitionType
impl PartialEq<_PedPartitionType> for _PedPartitionType
source§fn eq(&self, other: &_PedPartitionType) -> bool
fn eq(&self, other: &_PedPartitionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for _PedPartitionType
impl Eq for _PedPartitionType
impl StructuralEq for _PedPartitionType
impl StructuralPartialEq for _PedPartitionType
Auto Trait Implementations§
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