Struct object::read::ObjectMapEntry
source · pub struct ObjectMapEntry<'data> { /* private fields */ }
Expand description
A ObjectMap
entry.
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.
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<ObjectMapEntry<'data>> for ObjectMapEntry<'data>
impl<'data> PartialEq<ObjectMapEntry<'data>> 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> StructuralEq for ObjectMapEntry<'data>
impl<'data> StructuralPartialEq for ObjectMapEntry<'data>
Auto Trait Implementations§
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.