#[repr(C)]pub struct FirmwareVolumeHeader {
pub zero_vector: [u8; 16],
pub file_system_guid: Guid,
pub fv_length: u64,
pub signature: [u8; 4],
pub attributes: FirmwareVolumeAttributes,
pub header_length: u16,
pub checksum: u16,
pub ext_header_offset: u16,
pub reserved: u8,
pub revision: u8,
pub block_map: [FirmwareVolumeBlockMap; 0],
}
Expand description
Corresponds to the C type EFI_FIRMWARE_VOLUME_HEADER
.
Fields§
§zero_vector: [u8; 16]
§file_system_guid: Guid
§fv_length: u64
§signature: [u8; 4]
§attributes: FirmwareVolumeAttributes
§header_length: u16
§checksum: u16
§ext_header_offset: u16
§reserved: u8
§revision: u8
§block_map: [FirmwareVolumeBlockMap; 0]
Variable-length array of block maps, terminated with a zero-filled entry.
Implementations§
Trait Implementations§
source§impl Clone for FirmwareVolumeHeader
impl Clone for FirmwareVolumeHeader
source§fn clone(&self) -> FirmwareVolumeHeader
fn clone(&self) -> FirmwareVolumeHeader
Returns a copy of the value. Read more
1.0.0 · 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 FirmwareVolumeHeader
impl Debug for FirmwareVolumeHeader
source§impl Ord for FirmwareVolumeHeader
impl Ord for FirmwareVolumeHeader
source§fn cmp(&self, other: &FirmwareVolumeHeader) -> Ordering
fn cmp(&self, other: &FirmwareVolumeHeader) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for FirmwareVolumeHeader
impl PartialEq for FirmwareVolumeHeader
source§impl PartialOrd for FirmwareVolumeHeader
impl PartialOrd for FirmwareVolumeHeader
impl Copy for FirmwareVolumeHeader
impl Eq for FirmwareVolumeHeader
impl StructuralPartialEq for FirmwareVolumeHeader
Auto Trait Implementations§
impl Freeze for FirmwareVolumeHeader
impl RefUnwindSafe for FirmwareVolumeHeader
impl Send for FirmwareVolumeHeader
impl Sync for FirmwareVolumeHeader
impl Unpin for FirmwareVolumeHeader
impl UnwindSafe for FirmwareVolumeHeader
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)