Struct wasmparser::CoreDumpInstance
source · pub struct CoreDumpInstance {
pub module_index: u32,
pub memories: Vec<u32>,
pub globals: Vec<u32>,
}
Expand description
A single instance from a coredump instances section
Fields§
§module_index: u32
The module that this is an instance of, as an index into a “coremodules” section.
memories: Vec<u32>
Which of the coredump’s memories are this instance’s memories, via indexing into the memory index space.
globals: Vec<u32>
Which of the coredump’s globals are this instance’s globals, via indexing into the global index space.
Trait Implementations§
source§impl<'a> FromReader<'a> for CoreDumpInstance
impl<'a> FromReader<'a> for CoreDumpInstance
source§fn from_reader(reader: &mut BinaryReader<'a>) -> Result<Self>
fn from_reader(reader: &mut BinaryReader<'a>) -> Result<Self>
Attempts to read
Self
from the provided binary reader, returning an
error if it is unable to do so.Auto Trait Implementations§
impl RefUnwindSafe for CoreDumpInstance
impl Send for CoreDumpInstance
impl Sync for CoreDumpInstance
impl Unpin for CoreDumpInstance
impl UnwindSafe for CoreDumpInstance
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