Enum nod::PartitionKind
source · pub enum PartitionKind {
Data,
Update,
Channel,
Other(u32),
}Expand description
The kind of disc partition.
Variants§
Data
Data partition.
Update
Update partition.
Channel
Channel partition.
Other(u32)
Other partition kind.
Implementations§
Trait Implementations§
source§impl Clone for PartitionKind
impl Clone for PartitionKind
source§fn clone(&self) -> PartitionKind
fn clone(&self) -> PartitionKind
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 PartitionKind
impl Debug for PartitionKind
source§impl Display for PartitionKind
impl Display for PartitionKind
source§impl From<u32> for PartitionKind
impl From<u32> for PartitionKind
source§impl PartialEq for PartitionKind
impl PartialEq for PartitionKind
source§fn eq(&self, other: &PartitionKind) -> bool
fn eq(&self, other: &PartitionKind) -> bool
This method 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 RefUnwindSafe for PartitionKind
impl Send for PartitionKind
impl Sync for PartitionKind
impl Unpin 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