pub struct ApmPartition {
pub name: String,
pub type_name: String,
pub start_block: u32,
pub block_count: u32,
pub map_count: u32,
pub status: u32,
}Expand description
One Apple Partition Map entry.
Fields§
§name: StringPartition name (pmPartName), e.g. "disk image".
type_name: StringPartition type (pmPartType), e.g. "Apple_HFS".
start_block: u32Physical start block of the partition (pmPyPartStart).
block_count: u32Partition length in blocks (pmPartBlkCnt).
map_count: u32Number of blocks in the partition map, as recorded by this entry
(pmMapBlkCnt). Every entry should report the same value.
status: u32Partition status bits (pmPartStatus).
Implementations§
Trait Implementations§
Source§impl Clone for ApmPartition
impl Clone for ApmPartition
Source§fn clone(&self) -> ApmPartition
fn clone(&self) -> ApmPartition
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 ApmPartition
impl Debug for ApmPartition
impl Eq for ApmPartition
Source§impl PartialEq for ApmPartition
impl PartialEq for ApmPartition
Source§fn eq(&self, other: &ApmPartition) -> bool
fn eq(&self, other: &ApmPartition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ApmPartition
Auto Trait Implementations§
impl Freeze for ApmPartition
impl RefUnwindSafe for ApmPartition
impl Send for ApmPartition
impl Sync for ApmPartition
impl Unpin for ApmPartition
impl UnsafeUnpin for ApmPartition
impl UnwindSafe for ApmPartition
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