#[repr(C, packed(1))]pub struct GptHeader {Show 14 fields
pub signature: [u8; 8],
pub revision: u32,
pub header_size: u32,
pub header_crc32: u32,
pub reserved: u32,
pub current_lba: u64,
pub backup_lba: u64,
pub first_usable_lba: u64,
pub last_usable_lba: u64,
pub disk_guid: [u8; 16],
pub partition_entry_lba: u64,
pub num_partition_entries: u32,
pub partition_entry_size: u32,
pub partition_array_crc32: u32,
}Fields§
§signature: [u8; 8]§revision: u32§header_size: u32§header_crc32: u32§reserved: u32§current_lba: u64§backup_lba: u64§first_usable_lba: u64§last_usable_lba: u64§disk_guid: [u8; 16]§partition_entry_lba: u64§num_partition_entries: u32§partition_entry_size: u32§partition_array_crc32: u32Implementations§
Auto Trait Implementations§
impl Freeze for GptHeader
impl RefUnwindSafe for GptHeader
impl Send for GptHeader
impl Sync for GptHeader
impl Unpin for GptHeader
impl UnwindSafe for GptHeader
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