#[repr(transparent)]pub struct PartitionFormat(pub u8);
Expand description
Hard drive partition format.
Tuple Fields§
§0: u8
Implementations§
source§impl PartitionFormat
impl PartitionFormat
sourcepub const MBR: PartitionFormat = _
pub const MBR: PartitionFormat = _
MBR (PC-AT compatible Master Boot Record) format.
sourcepub const GPT: PartitionFormat = _
pub const GPT: PartitionFormat = _
GPT (GUID Partition Table) format.
Trait Implementations§
source§impl Clone for PartitionFormat
impl Clone for PartitionFormat
source§fn clone(&self) -> PartitionFormat
fn clone(&self) -> PartitionFormat
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 PartitionFormat
impl Debug for PartitionFormat
source§impl Hash for PartitionFormat
impl Hash for PartitionFormat
source§impl Ord for PartitionFormat
impl Ord for PartitionFormat
source§fn cmp(&self, other: &PartitionFormat) -> Ordering
fn cmp(&self, other: &PartitionFormat) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for PartitionFormat
impl PartialEq for PartitionFormat
source§impl PartialOrd for PartitionFormat
impl PartialOrd for PartitionFormat
impl Copy for PartitionFormat
impl Eq for PartitionFormat
impl StructuralPartialEq for PartitionFormat
Auto Trait Implementations§
impl Freeze for PartitionFormat
impl RefUnwindSafe for PartitionFormat
impl Send for PartitionFormat
impl Sync for PartitionFormat
impl Unpin for PartitionFormat
impl UnwindSafe for PartitionFormat
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)