fn layout(num_globals: u32, num_imported_funcs: u32, num_tables: u32) -> Layout {
        let size = VmContext::size(num_globals, num_imported_funcs, num_tables);
        let align = align_of::<VmContext>();
        Layout::from_size_align(size, align).unwrap()
    }
/// Calculates the allocation layout of the VmContext.
Calculates the allocation layout of the VmContext.
Calculates the allocation layout of the VmContext .
fn layout(num_globals: u32, num_imported_funcs: u32, num_tables: u32) -> Layout {
        let size = VmContext::size(num_globals, num_imported_funcs, num_tables);
        let align = align_of::<VmContext>();
        Layout::from_size_align(size, align).unwrap()
    }
fn layout ( num_globals : u32 , num_imported_funcs : u32 , num_tables : u32 ) -> Layout { let size = VmContext :: size ( num_globals , num_imported_funcs , num_tables ) ; let align = align_of :: < VmContext > ( ) ; Layout :: from_size_align ( size , align ) . unwrap ( ) }
Calculates the allocation layout of the VmContext.
Calculates the allocation layout of the VmContext .
num_globals
u32
num_imported_funcs
u32
num_tables
u32
num_globals
u32
num_imported_funcs
u32
num_tables
u32