Struct dynlink::symbol::RelocatedSymbol
source · pub struct RelocatedSymbol<'lib> { /* private fields */ }
Expand description
A (relocated) symbol. Contains information about the symbol itself, like value and size, along with a reference to the library that it comes from.
Implementations§
source§impl<'lib> RelocatedSymbol<'lib>
impl<'lib> RelocatedSymbol<'lib>
sourcepub fn reloc_value(&self) -> u64
pub fn reloc_value(&self) -> u64
Returns the relocated address of the symbol, i.e. the value of the symbol added to the base address of the library it comes from.
Auto Trait Implementations§
impl<'lib> !Crossing for RelocatedSymbol<'lib>
impl<'lib> !ObjSafe for RelocatedSymbol<'lib>
impl<'lib> RefUnwindSafe for RelocatedSymbol<'lib>
impl<'lib> Send for RelocatedSymbol<'lib>
impl<'lib> Sync for RelocatedSymbol<'lib>
impl<'lib> Unpin for RelocatedSymbol<'lib>
impl<'lib> UnwindSafe for RelocatedSymbol<'lib>
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