pub enum PartitionType {
Primary,
Logical,
Extended,
}
Expand description
Defines whether the partition is a primary, logical, or extended partition.
§Note
This only applies for MBR partition tables.
Variants§
Trait Implementations§
Source§impl Clone for PartitionType
impl Clone for PartitionType
Source§fn clone(&self) -> PartitionType
fn clone(&self) -> PartitionType
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 PartitionType
impl Debug for PartitionType
Source§impl Hash for PartitionType
impl Hash for PartitionType
Source§impl PartialEq for PartitionType
impl PartialEq for PartitionType
impl Copy for PartitionType
impl StructuralPartialEq for PartitionType
Auto Trait Implementations§
impl Freeze for PartitionType
impl RefUnwindSafe for PartitionType
impl Send for PartitionType
impl Sync for PartitionType
impl Unpin for PartitionType
impl UnwindSafe for PartitionType
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