Struct multiboot2_header::EntryEfi32HeaderTag
source · #[repr(C)]pub struct EntryEfi32HeaderTag { /* private fields */ }Expand description
This tag is taken into account only on EFI i386 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 EntryEfi32HeaderTag
impl EntryEfi32HeaderTag
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 EntryEfi32HeaderTag
impl Clone for EntryEfi32HeaderTag
source§fn clone(&self) -> EntryEfi32HeaderTag
fn clone(&self) -> EntryEfi32HeaderTag
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 EntryEfi32HeaderTag
impl Debug for EntryEfi32HeaderTag
source§impl Hash for EntryEfi32HeaderTag
impl Hash for EntryEfi32HeaderTag
source§impl Ord for EntryEfi32HeaderTag
impl Ord for EntryEfi32HeaderTag
source§fn cmp(&self, other: &EntryEfi32HeaderTag) -> Ordering
fn cmp(&self, other: &EntryEfi32HeaderTag) -> 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 EntryEfi32HeaderTag
impl PartialEq for EntryEfi32HeaderTag
source§fn eq(&self, other: &EntryEfi32HeaderTag) -> bool
fn eq(&self, other: &EntryEfi32HeaderTag) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for EntryEfi32HeaderTag
impl PartialOrd for EntryEfi32HeaderTag
source§fn partial_cmp(&self, other: &EntryEfi32HeaderTag) -> Option<Ordering>
fn partial_cmp(&self, other: &EntryEfi32HeaderTag) -> 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 EntryEfi32HeaderTag
impl Eq for EntryEfi32HeaderTag
impl StructuralEq for EntryEfi32HeaderTag
impl StructuralPartialEq for EntryEfi32HeaderTag
Auto Trait Implementations§
impl RefUnwindSafe for EntryEfi32HeaderTag
impl Send for EntryEfi32HeaderTag
impl Sync for EntryEfi32HeaderTag
impl Unpin for EntryEfi32HeaderTag
impl UnwindSafe for EntryEfi32HeaderTag
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