pub struct Relocation<'a> { /* private fields */ }Implementations§
Source§impl<'a> Relocation<'a>
impl<'a> Relocation<'a>
pub unsafe fn new( relocation: LLVMRelocationIteratorRef, binary_file: LLVMBinaryRef, ) -> Self
pub fn as_mut_ptr(&self) -> (LLVMRelocationIteratorRef, LLVMBinaryRef)
pub fn get_offset(&self) -> u64
pub fn get_type(&self) -> (u64, LLVMString)
pub fn get_value(&self) -> LLVMString
pub fn get_symbol(&self) -> Symbol<'_>
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Send for Relocation<'a>
impl<'a> !Sync for Relocation<'a>
impl<'a> Freeze for Relocation<'a>
impl<'a> RefUnwindSafe for Relocation<'a>
impl<'a> Unpin for Relocation<'a>
impl<'a> UnsafeUnpin for Relocation<'a>
impl<'a> UnwindSafe for Relocation<'a>
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