Struct inkwell::object_file::Relocation
source · pub struct Relocation { /* private fields */ }
Implementations§
source§impl Relocation
impl Relocation
pub unsafe fn new( relocation: LLVMRelocationIteratorRef, object_file: LLVMObjectFileRef ) -> Self
pub fn as_mut_ptr(&self) -> (LLVMRelocationIteratorRef, LLVMObjectFileRef)
pub fn get_offset(&self) -> u64
pub fn get_symbols(&self) -> SymbolIterator ⓘ
pub fn get_type(&self) -> (u64, &CStr)
pub fn get_value(&self) -> &CStr
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Relocation
impl !Send for Relocation
impl !Sync for Relocation
impl Unpin for Relocation
impl UnwindSafe for Relocation
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