#[repr(C)]pub struct Header {
pub type: u16,
pub length: u16,
pub reserved: u32,
}Expand description
HOB Generic Header, defined in [UEFI-PI Spec], section 5.2
Describes the format and size of the data inside the HOB. All HOBs must contain this generic HOB header.
Fields§
§type: u16§length: u16§reserved: u32Implementations§
Trait Implementations§
Source§impl<'a> TryIntoCtx<Endian> for &'a Header
impl<'a> TryIntoCtx<Endian> for &'a Header
Source§impl TryIntoCtx<Endian> for Header
impl TryIntoCtx<Endian> for Header
impl Copy 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