Struct wasmtime_environ::Relocation [−][src]
pub struct Relocation {
pub reloc: Reloc,
pub reloc_target: RelocationTarget,
pub offset: CodeOffset,
pub addend: Addend,
}Expand description
A record of a relocation to perform.
Fields
reloc: RelocThe relocation code.
reloc_target: RelocationTargetRelocation target.
offset: CodeOffsetThe offset where to apply the relocation.
addend: AddendThe addend to add to the relocation value.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
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
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.