pub trait ModuleInfo {
// Required method
fn lookup_stack_map(&self, pc: usize) -> Option<&StackMap>;
}Expand description
Used by the runtime to query module information.
Required Methods§
Sourcefn lookup_stack_map(&self, pc: usize) -> Option<&StackMap>
fn lookup_stack_map(&self, pc: usize) -> Option<&StackMap>
Lookup the stack map at a program counter value.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".