pub struct DebugMetadata {
pub func_info: Map<FuncIndex, ()>,
pub inst_info: Map<FuncIndex, ()>,
pub stack_slot_offsets: Map<FuncIndex, Vec<Option<i32>>>,
pub pointers: Vec<(*const u8, usize)>,
}Expand description
Useful information for debugging gathered by compiling a Wasm module.
Fields§
§func_info: Map<FuncIndex, ()>[CompiledFunctionData] in FuncIndex order
inst_info: Map<FuncIndex, ()>[ValueLabelsRangesInner] in FuncIndex order
stack_slot_offsets: Map<FuncIndex, Vec<Option<i32>>>Stack slot offsets in FuncIndex order
pointers: Vec<(*const u8, usize)>function pointers and their lengths
Trait Implementations§
Source§impl Clone for DebugMetadata
impl Clone for DebugMetadata
Auto Trait Implementations§
impl !Send for DebugMetadata
impl !Sync for DebugMetadata
impl Freeze for DebugMetadata
impl RefUnwindSafe for DebugMetadata
impl Unpin for DebugMetadata
impl UnsafeUnpin for DebugMetadata
impl UnwindSafe for DebugMetadata
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