Struct disk::gpt::GptPartitionEntry
source · pub struct GptPartitionEntry {
pub partition_type_guid: Uuid,
pub unique_partition_guid: Uuid,
pub first_lba: u64,
pub last_lba: u64,
pub attributes: u64,
pub partition_name: [u16; 36],
}
Expand description
A GPT entry for a particular partition.
Fields§
§partition_type_guid: Uuid
§unique_partition_guid: Uuid
§first_lba: u64
§last_lba: u64
§attributes: u64
§partition_name: [u16; 36]
UTF-16LE
Implementations§
Trait Implementations§
source§impl Clone for GptPartitionEntry
impl Clone for GptPartitionEntry
source§fn clone(&self) -> GptPartitionEntry
fn clone(&self) -> GptPartitionEntry
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 GptPartitionEntry
impl Debug for GptPartitionEntry
source§impl Default for GptPartitionEntry
impl Default for GptPartitionEntry
source§impl PartialEq for GptPartitionEntry
impl PartialEq for GptPartitionEntry
source§fn eq(&self, other: &GptPartitionEntry) -> bool
fn eq(&self, other: &GptPartitionEntry) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GptPartitionEntry
impl StructuralPartialEq for GptPartitionEntry
Auto Trait Implementations§
impl RefUnwindSafe for GptPartitionEntry
impl Send for GptPartitionEntry
impl Sync for GptPartitionEntry
impl Unpin for GptPartitionEntry
impl UnwindSafe for GptPartitionEntry
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