pub enum PartitionKind {
Empty,
Xila,
Other(u8),
}Expand description
Minimal MBR partition type enumeration.
Variants§
Empty
Empty/unused partition slot (0x00).
Xila
Xila filesystem partition (0xDA).
Other(u8)
Other partition type.
Trait Implementations§
Source§impl Clone for PartitionKind
impl Clone for PartitionKind
Source§fn clone(&self) -> PartitionKind
fn clone(&self) -> PartitionKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PartitionKind
impl Debug for PartitionKind
Source§impl Default for PartitionKind
impl Default for PartitionKind
Source§fn default() -> PartitionKind
fn default() -> PartitionKind
Returns the “default value” for a type. Read more
Source§impl From<PartitionKind> for u8
impl From<PartitionKind> for u8
Source§fn from(kind: PartitionKind) -> Self
fn from(kind: PartitionKind) -> Self
Converts to this type from the input type.
Source§impl From<u8> for PartitionKind
impl From<u8> for PartitionKind
Source§impl PartialEq for PartitionKind
impl PartialEq for PartitionKind
Source§fn eq(&self, other: &PartitionKind) -> bool
fn eq(&self, other: &PartitionKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PartitionKind
impl Eq for PartitionKind
impl StructuralPartialEq for PartitionKind
Auto Trait Implementations§
impl Freeze for PartitionKind
impl RefUnwindSafe for PartitionKind
impl Send for PartitionKind
impl Sync for PartitionKind
impl Unpin for PartitionKind
impl UnsafeUnpin for PartitionKind
impl UnwindSafe for PartitionKind
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