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
sourceimpl 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
sourceimpl Clone for EntryAddressHeaderTag
impl Clone for EntryAddressHeaderTag
sourcefn clone(&self) -> EntryAddressHeaderTag
fn clone(&self) -> EntryAddressHeaderTag
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 EntryAddressHeaderTag
impl Debug for EntryAddressHeaderTag
impl Copy for EntryAddressHeaderTag
Auto Trait Implementations
impl RefUnwindSafe for EntryAddressHeaderTag
impl Send for EntryAddressHeaderTag
impl Sync for EntryAddressHeaderTag
impl Unpin for EntryAddressHeaderTag
impl UnwindSafe for EntryAddressHeaderTag
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