#[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: u64Unique identifier for this table.
revision: RevisionRevision of the spec this table conforms to.
size: u32The size in bytes of the entire table.
crc: u3232-bit CRC-32-Castagnoli of the entire table, calculated with this field set to 0.
reserved: u32Reserved 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§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)