#[repr(C)]pub struct Header {
pub signature: u64,
pub revision: Revision,
pub size: u32,
pub crc: u32,
pub reserved: u32,
}
Expand description
The common header that all UEFI tables begin with.
Fields§
§signature: u64
Unique identifier for this table.
revision: Revision
Revision of the spec this table conforms to.
size: u32
The size in bytes of the entire table.
crc: u32
32-bit CRC-32-Castagnoli of the entire table, calculated with this field set to 0.
reserved: u32
Reserved field that must be set to 0.
Trait Implementations§
source§impl Ord for Header
impl Ord for Header
source§impl PartialOrd for Header
impl PartialOrd for Header
impl Copy for Header
impl Eq for Header
impl StructuralPartialEq for Header
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
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
)