Trait Module

Source
pub trait Module: ModuleInternal {
    // Provided method
    fn initial_globals_size(&self) -> usize { ... }
}
Expand description

The read-only parts of a Lucet program, including its code and initial heap configuration.

Types that implement this trait are suitable for use with Region::new_instance().

Provided Methods§

Source

fn initial_globals_size(&self) -> usize

Calculate the initial size in bytes of the module’s Wasm globals.

Implementors§