pub struct ApplePartitionMap {
pub block_size: u32,
pub device_block_count: u32,
pub partitions: Vec<ApmPartition>,
}Expand description
A parsed Apple Partition Map.
Fields§
§block_size: u32Device block size in bytes (from the Driver Descriptor Map).
device_block_count: u32Number of blocks on the device (sbBlkCount in the Driver Descriptor Map).
partitions: Vec<ApmPartition>Partition entries in map order.
Implementations§
Source§impl ApplePartitionMap
impl ApplePartitionMap
Sourcepub fn hfs_partition(&self) -> Option<&ApmPartition>
pub fn hfs_partition(&self) -> Option<&ApmPartition>
The first Apple_HFS (or HFS+) partition, if any.
Trait Implementations§
Source§impl Clone for ApplePartitionMap
impl Clone for ApplePartitionMap
Source§fn clone(&self) -> ApplePartitionMap
fn clone(&self) -> ApplePartitionMap
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 ApplePartitionMap
impl Debug for ApplePartitionMap
impl Eq for ApplePartitionMap
Source§impl PartialEq for ApplePartitionMap
impl PartialEq for ApplePartitionMap
Source§fn eq(&self, other: &ApplePartitionMap) -> bool
fn eq(&self, other: &ApplePartitionMap) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ApplePartitionMap
Auto Trait Implementations§
impl Freeze for ApplePartitionMap
impl RefUnwindSafe for ApplePartitionMap
impl Send for ApplePartitionMap
impl Sync for ApplePartitionMap
impl Unpin for ApplePartitionMap
impl UnsafeUnpin for ApplePartitionMap
impl UnwindSafe for ApplePartitionMap
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