#[repr(C, align(8))]pub struct BootInformationHeader { /* private fields */ }
Expand description
The basic header of a BootInformation
as sized Rust type.
Implementations§
Source§impl BootInformationHeader
impl BootInformationHeader
Sourcepub const fn total_size(&self) -> u32
pub const fn total_size(&self) -> u32
Returns the total size of the structure.
Trait Implementations§
Source§impl Clone for BootInformationHeader
impl Clone for BootInformationHeader
Source§fn clone(&self) -> BootInformationHeader
fn clone(&self) -> BootInformationHeader
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BootInformationHeader
impl Debug for BootInformationHeader
Source§impl Hash for BootInformationHeader
impl Hash for BootInformationHeader
Source§impl Header for BootInformationHeader
impl Header for BootInformationHeader
Source§fn payload_len(&self) -> usize
fn payload_len(&self) -> usize
Returns the length of the payload, i.e., the bytes that are additional
to the header. The value is measured in bytes.
Source§fn total_size(&self) -> usize
fn total_size(&self) -> usize
Returns the total size of the struct, thus the size of the header itself
plus
Header::payload_len
.Source§impl Ord for BootInformationHeader
impl Ord for BootInformationHeader
Source§impl PartialEq for BootInformationHeader
impl PartialEq for BootInformationHeader
Source§impl PartialOrd for BootInformationHeader
impl PartialOrd for BootInformationHeader
Source§fn partial_cmp(&self, other: &BootInformationHeader) -> Option<Ordering>
fn partial_cmp(&self, other: &BootInformationHeader) -> Option<Ordering>
impl Copy for BootInformationHeader
impl Eq for BootInformationHeader
impl StructuralPartialEq for BootInformationHeader
Auto Trait Implementations§
impl Freeze for BootInformationHeader
impl RefUnwindSafe for BootInformationHeader
impl Send for BootInformationHeader
impl Sync for BootInformationHeader
impl Unpin for BootInformationHeader
impl UnwindSafe for BootInformationHeader
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
)