pub enum PartitionRef {
Index(usize),
Uuid([u8; 16]),
}Expand description
How callers identify a partition for remove / resize. Index is
always accepted; UUID is GPT-only.
Variants§
Trait Implementations§
Source§impl Clone for PartitionRef
impl Clone for PartitionRef
Source§fn clone(&self) -> PartitionRef
fn clone(&self) -> PartitionRef
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 PartitionRef
impl Debug for PartitionRef
impl Copy for PartitionRef
Auto Trait Implementations§
impl Freeze for PartitionRef
impl RefUnwindSafe for PartitionRef
impl Send for PartitionRef
impl Sync for PartitionRef
impl Unpin for PartitionRef
impl UnsafeUnpin for PartitionRef
impl UnwindSafe for PartitionRef
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