Struct multiboot2_header::EntryAddressHeaderTag
source · #[repr(C)]pub struct EntryAddressHeaderTag { /* private fields */ }Expand description
Specifies the physical address to which the boot loader should jump in order to start running the operating system. Not needed for ELF files.
Implementations§
source§impl EntryAddressHeaderTag
impl EntryAddressHeaderTag
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 EntryAddressHeaderTag
impl Clone for EntryAddressHeaderTag
source§fn clone(&self) -> EntryAddressHeaderTag
fn clone(&self) -> EntryAddressHeaderTag
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 EntryAddressHeaderTag
impl Debug for EntryAddressHeaderTag
source§impl Hash for EntryAddressHeaderTag
impl Hash for EntryAddressHeaderTag
source§impl Ord for EntryAddressHeaderTag
impl Ord for EntryAddressHeaderTag
source§fn cmp(&self, other: &EntryAddressHeaderTag) -> Ordering
fn cmp(&self, other: &EntryAddressHeaderTag) -> 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 EntryAddressHeaderTag
impl PartialEq for EntryAddressHeaderTag
source§fn eq(&self, other: &EntryAddressHeaderTag) -> bool
fn eq(&self, other: &EntryAddressHeaderTag) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for EntryAddressHeaderTag
impl PartialOrd for EntryAddressHeaderTag
source§fn partial_cmp(&self, other: &EntryAddressHeaderTag) -> Option<Ordering>
fn partial_cmp(&self, other: &EntryAddressHeaderTag) -> 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 EntryAddressHeaderTag
impl Eq for EntryAddressHeaderTag
impl StructuralPartialEq for EntryAddressHeaderTag
Auto Trait Implementations§
impl Freeze for EntryAddressHeaderTag
impl RefUnwindSafe for EntryAddressHeaderTag
impl Send for EntryAddressHeaderTag
impl Sync for EntryAddressHeaderTag
impl Unpin for EntryAddressHeaderTag
impl UnwindSafe for EntryAddressHeaderTag
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