Struct multiboot2_header::EntryEfi64HeaderTag
source · #[repr(C)]pub struct EntryEfi64HeaderTag { /* private fields */ }Expand description
This tag is taken into account only on EFI amd64 platforms when Multiboot2 image header contains EFI boot services tag. Then entry point specified in ELF header and the entry address tag of Multiboot2 header are ignored.
Technically, this is equivalent to the crate::EntryAddressHeaderTag but with a different
crate::HeaderTagType.
Implementations§
source§impl EntryEfi64HeaderTag
impl EntryEfi64HeaderTag
pub const fn new(flags: HeaderTagFlag, entry_addr: u32) -> Self
pub const fn typ(&self) -> HeaderTagType
pub const fn flags(&self) -> HeaderTagFlag
pub const fn size(&self) -> u32
pub const fn entry_addr(&self) -> u32
Trait Implementations§
source§impl Clone for EntryEfi64HeaderTag
impl Clone for EntryEfi64HeaderTag
source§fn clone(&self) -> EntryEfi64HeaderTag
fn clone(&self) -> EntryEfi64HeaderTag
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 EntryEfi64HeaderTag
impl Debug for EntryEfi64HeaderTag
source§impl Hash for EntryEfi64HeaderTag
impl Hash for EntryEfi64HeaderTag
source§impl Ord for EntryEfi64HeaderTag
impl Ord for EntryEfi64HeaderTag
source§fn cmp(&self, other: &EntryEfi64HeaderTag) -> Ordering
fn cmp(&self, other: &EntryEfi64HeaderTag) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for EntryEfi64HeaderTag
impl PartialEq for EntryEfi64HeaderTag
source§fn eq(&self, other: &EntryEfi64HeaderTag) -> bool
fn eq(&self, other: &EntryEfi64HeaderTag) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for EntryEfi64HeaderTag
impl PartialOrd for EntryEfi64HeaderTag
source§fn partial_cmp(&self, other: &EntryEfi64HeaderTag) -> Option<Ordering>
fn partial_cmp(&self, other: &EntryEfi64HeaderTag) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for EntryEfi64HeaderTag
impl Eq for EntryEfi64HeaderTag
impl StructuralPartialEq for EntryEfi64HeaderTag
Auto Trait Implementations§
impl Freeze for EntryEfi64HeaderTag
impl RefUnwindSafe for EntryEfi64HeaderTag
impl Send for EntryEfi64HeaderTag
impl Sync for EntryEfi64HeaderTag
impl Unpin for EntryEfi64HeaderTag
impl UnwindSafe for EntryEfi64HeaderTag
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