Struct object::read::ObjectMapEntry
source · pub struct ObjectMapEntry<'data> { /* private fields */ }
Expand description
A symbol in an ObjectMap
.
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§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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.