Struct wasmparser::Reloc
source · pub struct Reloc {
pub ty: RelocType,
pub offset: u32,
pub index: u32,
pub addend: Option<u32>,
}
Expand description
Represents a relocation entry.
Fields§
§ty: RelocType
The relocation type.
offset: u32
The relocation offset.
index: u32
The relocation index.
addend: Option<u32>
The relocation addend.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Reloc
impl Send for Reloc
impl Sync for Reloc
impl Unpin for Reloc
impl UnwindSafe for Reloc
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