Struct object::read::ObjectMapEntry
source · pub struct ObjectMapEntry<'data> {
address: u64,
size: u64,
name: &'data [u8],
object: usize,
}
Expand description
A symbol in an ObjectMap
.
Fields§
§address: u64
§size: u64
§name: &'data [u8]
§object: usize
Implementations§
source§impl<'data> ObjectMapEntry<'data>
impl<'data> ObjectMapEntry<'data>
sourcepub fn object_index(&self) -> usize
pub fn object_index(&self) -> usize
Get the index of the object file name.
sourcepub fn object<'a>(&self, map: &'a ObjectMap<'data>) -> &'a ObjectMapFile<'data>
pub fn object<'a>(&self, map: &'a ObjectMap<'data>) -> &'a ObjectMapFile<'data>
Get the object file name.
Trait Implementations§
source§impl<'data> Clone for ObjectMapEntry<'data>
impl<'data> Clone for ObjectMapEntry<'data>
source§fn clone(&self) -> ObjectMapEntry<'data>
fn clone(&self) -> ObjectMapEntry<'data>
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<'data> Debug for ObjectMapEntry<'data>
impl<'data> Debug for ObjectMapEntry<'data>
source§impl<'data> Default for ObjectMapEntry<'data>
impl<'data> Default for ObjectMapEntry<'data>
source§fn default() -> ObjectMapEntry<'data>
fn default() -> ObjectMapEntry<'data>
Returns the “default value” for a type. Read more
source§impl<'data> Hash for ObjectMapEntry<'data>
impl<'data> Hash for ObjectMapEntry<'data>
source§impl<'data> PartialEq for ObjectMapEntry<'data>
impl<'data> PartialEq for ObjectMapEntry<'data>
source§fn eq(&self, other: &ObjectMapEntry<'data>) -> bool
fn eq(&self, other: &ObjectMapEntry<'data>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'data> SymbolMapEntry for ObjectMapEntry<'data>
impl<'data> SymbolMapEntry for ObjectMapEntry<'data>
impl<'data> Copy for ObjectMapEntry<'data>
impl<'data> Eq for ObjectMapEntry<'data>
impl<'data> StructuralPartialEq for ObjectMapEntry<'data>
Auto Trait Implementations§
impl<'data> Freeze for ObjectMapEntry<'data>
impl<'data> RefUnwindSafe for ObjectMapEntry<'data>
impl<'data> Send for ObjectMapEntry<'data>
impl<'data> Sync for ObjectMapEntry<'data>
impl<'data> Unpin for ObjectMapEntry<'data>
impl<'data> UnwindSafe for ObjectMapEntry<'data>
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