#[repr(C, packed(1))]pub struct DescriptionHeader {
pub signature: [u8; 4],
pub length: u32,
pub revision: u8,
pub checksum: u8,
pub oem_id: [u8; 6],
pub oem_table_id: [u8; 8],
pub oem_revision: u32,
pub creator_id: u32,
pub creator_revision: u32,
}
Expand description
Common table header defined as DESCRIPTION_HEADER
in the spec
Fields§
§signature: [u8; 4]
§length: u32
§revision: u8
§checksum: u8
§oem_id: [u8; 6]
§oem_table_id: [u8; 8]
§oem_revision: u32
§creator_id: u32
§creator_revision: u32
Trait Implementations§
Source§impl Clone for DescriptionHeader
impl Clone for DescriptionHeader
Source§fn clone(&self) -> DescriptionHeader
fn clone(&self) -> DescriptionHeader
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 DescriptionHeader
impl Debug for DescriptionHeader
Source§impl PartialEq for DescriptionHeader
impl PartialEq for DescriptionHeader
impl Copy for DescriptionHeader
impl Eq for DescriptionHeader
impl StructuralPartialEq for DescriptionHeader
Auto Trait Implementations§
impl Freeze for DescriptionHeader
impl RefUnwindSafe for DescriptionHeader
impl Send for DescriptionHeader
impl Sync for DescriptionHeader
impl Unpin for DescriptionHeader
impl UnwindSafe for DescriptionHeader
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