Skip to main content

ModuleInfo

Trait ModuleInfo 

Source
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§

Source

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".

Implementors§