pub struct PartitionInfo {
pub label: String,
pub type_guid: Guid,
pub instance_guid: Guid,
pub start_block: u64,
pub num_blocks: u64,
pub flags: u64,
}
Fields§
§label: String
§type_guid: Guid
§instance_guid: Guid
§start_block: u64
§num_blocks: u64
§flags: u64
Implementations§
Source§impl PartitionInfo
impl PartitionInfo
pub fn from_entry(entry: &PartitionTableEntry) -> Result<Self, Error>
pub fn as_entry(&self) -> PartitionTableEntry
pub fn nil() -> Self
Trait Implementations§
Source§impl Clone for PartitionInfo
impl Clone for PartitionInfo
Source§fn clone(&self) -> PartitionInfo
fn clone(&self) -> PartitionInfo
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 moreAuto Trait Implementations§
impl Freeze for PartitionInfo
impl RefUnwindSafe for PartitionInfo
impl Send for PartitionInfo
impl Sync for PartitionInfo
impl Unpin for PartitionInfo
impl UnwindSafe for PartitionInfo
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