#[repr(C)]#[repr(packed)]pub struct PartitionInfo {
pub revision: PartitionInfoRevision,
pub partition_type: PartitionType,
/* private fields */
}
Expand description
Protocol for accessing partition information.
Fields
revision: PartitionInfoRevision
Revision of the partition info protocol.
partition_type: PartitionType
Type of partition.
Implementations
Get the MBR partition record. Returns None if the partition type is not MBR.
Get the GPT partition entry. Returns None if the partition type is not GPT.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more