Struct uefi::proto::media::partition::PartitionInfo [−][src]
#[repr(C)]#[repr(packed)]pub struct PartitionInfo {
pub revision: PartitionInfoRevision,
pub partition_type: PartitionType,
// some fields omitted
}
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.