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
sourceimpl 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
sourceimpl Clone for EntryEfi32HeaderTag
impl Clone for EntryEfi32HeaderTag
sourcefn clone(&self) -> EntryEfi32HeaderTag
fn clone(&self) -> EntryEfi32HeaderTag
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for EntryEfi32HeaderTag
impl Debug for EntryEfi32HeaderTag
impl Copy 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more