Struct object::read::ObjectMapEntry [−][src]
pub struct ObjectMapEntry<'data> { /* fields omitted */ }
A ObjectMap
entry.
Implementations
impl<'data> ObjectMapEntry<'data>
[src]
impl<'data> ObjectMapEntry<'data>
[src]pub fn address(&self) -> u64
[src]
Get the symbol address.
pub fn size(&self) -> u64
[src]
Get the symbol size.
This may be 0 if the size is unknown.
pub fn name(&self) -> &'data [u8]
[src]
Get the symbol name.
pub fn object_index(&self) -> usize
[src]
Get the index of the object file name.
pub fn object(&self, map: &ObjectMap<'data>) -> &'data [u8]
[src]
Get the object file name.
Trait Implementations
impl<'data> Clone for ObjectMapEntry<'data>
[src]
impl<'data> Clone for ObjectMapEntry<'data>
[src]fn clone(&self) -> ObjectMapEntry<'data>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'data> Default for ObjectMapEntry<'data>
[src]
impl<'data> Default for ObjectMapEntry<'data>
[src]fn default() -> ObjectMapEntry<'data>
[src]
impl<'data> Hash for ObjectMapEntry<'data>
[src]
impl<'data> Hash for ObjectMapEntry<'data>
[src]impl<'data> PartialEq<ObjectMapEntry<'data>> for ObjectMapEntry<'data>
[src]
impl<'data> PartialEq<ObjectMapEntry<'data>> for ObjectMapEntry<'data>
[src]fn eq(&self, other: &ObjectMapEntry<'data>) -> bool
[src]
fn ne(&self, other: &ObjectMapEntry<'data>) -> bool
[src]
impl<'data> SymbolMapEntry for ObjectMapEntry<'data>
[src]
impl<'data> SymbolMapEntry for ObjectMapEntry<'data>
[src]impl<'data> Copy for ObjectMapEntry<'data>
[src]
impl<'data> Eq for ObjectMapEntry<'data>
[src]
impl<'data> StructuralEq for ObjectMapEntry<'data>
[src]
impl<'data> StructuralPartialEq for ObjectMapEntry<'data>
[src]
Auto Trait Implementations
impl<'data> Send for ObjectMapEntry<'data>
impl<'data> Sync for ObjectMapEntry<'data>
impl<'data> Unpin for ObjectMapEntry<'data>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
The resulting type after obtaining ownership.