Enum parity_wasm::elements::RelocationEntry
source · pub enum RelocationEntry {
FunctionIndexLeb {
offset: u32,
index: u32,
},
TableIndexSleb {
offset: u32,
index: u32,
},
TableIndexI32 {
offset: u32,
index: u32,
},
MemoryAddressLeb {
offset: u32,
index: u32,
addend: i32,
},
MemoryAddressSleb {
offset: u32,
index: u32,
addend: i32,
},
MemoryAddressI32 {
offset: u32,
index: u32,
addend: i32,
},
TypeIndexLeb {
offset: u32,
index: u32,
},
GlobalIndexLeb {
offset: u32,
index: u32,
},
}
Expand description
Relocation entry.
Variants§
FunctionIndexLeb
Fields
Function index.
TableIndexSleb
Fields
Function table index.
TableIndexI32
Fields
Function table index.
MemoryAddressLeb
Fields
Linear memory index.
MemoryAddressSleb
Fields
Linear memory index.
MemoryAddressI32
Fields
Linear memory index.
TypeIndexLeb
Type table index.
GlobalIndexLeb
Fields
Global index.
Trait Implementations§
source§impl Clone for RelocationEntry
impl Clone for RelocationEntry
source§fn clone(&self) -> RelocationEntry
fn clone(&self) -> RelocationEntry
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more