Struct multiboot2::ImageLoadPhysAddrTag
source · #[repr(C)]pub struct ImageLoadPhysAddrTag { /* private fields */ }
Expand description
The physical load address tag. Typically, this is only available if the binary was relocated, for example if the relocatable header tag was specified.
Implementations§
source§impl ImageLoadPhysAddrTag
impl ImageLoadPhysAddrTag
pub fn new(load_base_addr: u32) -> Self
sourcepub fn load_base_addr(&self) -> u32
pub fn load_base_addr(&self) -> u32
Returns the load base address.
Trait Implementations§
source§impl Clone for ImageLoadPhysAddrTag
impl Clone for ImageLoadPhysAddrTag
source§fn clone(&self) -> ImageLoadPhysAddrTag
fn clone(&self) -> ImageLoadPhysAddrTag
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ImageLoadPhysAddrTag
impl Debug for ImageLoadPhysAddrTag
source§impl Hash for ImageLoadPhysAddrTag
impl Hash for ImageLoadPhysAddrTag
source§impl Ord for ImageLoadPhysAddrTag
impl Ord for ImageLoadPhysAddrTag
source§impl PartialEq for ImageLoadPhysAddrTag
impl PartialEq for ImageLoadPhysAddrTag
source§fn eq(&self, other: &ImageLoadPhysAddrTag) -> bool
fn eq(&self, other: &ImageLoadPhysAddrTag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ImageLoadPhysAddrTag
impl PartialOrd for ImageLoadPhysAddrTag
impl Copy for ImageLoadPhysAddrTag
impl Eq for ImageLoadPhysAddrTag
impl StructuralEq for ImageLoadPhysAddrTag
impl StructuralPartialEq for ImageLoadPhysAddrTag
Auto Trait Implementations§
impl RefUnwindSafe for ImageLoadPhysAddrTag
impl Send for ImageLoadPhysAddrTag
impl Sync for ImageLoadPhysAddrTag
impl Unpin for ImageLoadPhysAddrTag
impl UnwindSafe for ImageLoadPhysAddrTag
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
source§impl<T> TagTrait for Twhere
T: Pointee<Metadata = ()>,
impl<T> TagTrait for Twhere
T: Pointee<Metadata = ()>,
source§fn dst_size(_: &Tag) -> <T as Pointee>::Metadata
fn dst_size(_: &Tag) -> <T as Pointee>::Metadata
Returns the amount of items in the dynamically sized portion of the
DST. Note that this is not the amount of bytes. So if the dynamically
sized portion is 16 bytes in size and each element is 4 bytes big, then
this function must return 4.
source§unsafe fn from_base_tag<'a>(tag: &Tag) -> &'a Self
unsafe fn from_base_tag<'a>(tag: &Tag) -> &'a Self
Creates a reference to a (dynamically sized) tag type in a safe way.
DST tags need to implement a proper
Self::dst_size
implementation. Read more