Trait wasmer_types::compilation::relocation::RelocationLike
source · pub trait RelocationLike {
// Required methods
fn kind(&self) -> RelocationKind;
fn reloc_target(&self) -> RelocationTarget;
fn offset(&self) -> CodeOffset;
fn addend(&self) -> Addend;
// Provided method
fn for_address(
&self,
start: usize,
target_func_address: u64,
) -> (usize, u64) { ... }
}
Expand description
Any struct that acts like a Relocation
.