Struct wasmer_emscripten::EmscriptenData
source · [−]pub struct EmscriptenData {Show 65 fields
pub globals: EmscriptenGlobalsData,
pub malloc: LazyInit<NativeFunc<u32, u32>>,
pub free: LazyInit<NativeFunc<u32>>,
pub memalign: LazyInit<NativeFunc<(u32, u32), u32>>,
pub memset: LazyInit<NativeFunc<(u32, u32, u32), u32>>,
pub stack_alloc: LazyInit<NativeFunc<u32, u32>>,
pub jumps: Arc<Mutex<Vec<[u32; 27]>>>,
pub opened_dirs: HashMap<i32, Box<LibcDirWrapper>>,
pub dyn_call_i: LazyInit<NativeFunc<i32, i32>>,
pub dyn_call_ii: LazyInit<NativeFunc<(i32, i32), i32>>,
pub dyn_call_iii: LazyInit<NativeFunc<(i32, i32, i32), i32>>,
pub dyn_call_iiii: LazyInit<NativeFunc<(i32, i32, i32, i32), i32>>,
pub dyn_call_iifi: LazyInit<NativeFunc<(i32, i32, f64, i32), i32>>,
pub dyn_call_v: LazyInit<NativeFunc<i32>>,
pub dyn_call_vi: LazyInit<NativeFunc<(i32, i32)>>,
pub dyn_call_vii: LazyInit<NativeFunc<(i32, i32, i32)>>,
pub dyn_call_viii: LazyInit<NativeFunc<(i32, i32, i32, i32)>>,
pub dyn_call_viiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32)>>,
pub dyn_call_dii: LazyInit<NativeFunc<(i32, i32, i32), f64>>,
pub dyn_call_diiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32), f64>>,
pub dyn_call_iiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32), i32>>,
pub dyn_call_iiiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32), i32>>,
pub dyn_call_iiiiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32), i32>>,
pub dyn_call_iiiiiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32), i32>>,
pub dyn_call_iiiiiiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>>,
pub dyn_call_iiiiiiiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>>,
pub dyn_call_iiiiiiiiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>>,
pub dyn_call_vd: LazyInit<NativeFunc<(i32, f64)>>,
pub dyn_call_viiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32)>>,
pub dyn_call_viiiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32)>>,
pub dyn_call_viiiiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32)>>,
pub dyn_call_viiiiiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32)>>,
pub dyn_call_viiiiiiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>>,
pub dyn_call_viiiiiiiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>>,
pub dyn_call_iij: LazyInit<NativeFunc<(i32, i32, i32, i32), i32>>,
pub dyn_call_iji: LazyInit<NativeFunc<(i32, i32, i32, i32), i32>>,
pub dyn_call_iiji: LazyInit<NativeFunc<(i32, i32, i32, i32, i32), i32>>,
pub dyn_call_iiijj: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32), i32>>,
pub dyn_call_j: LazyInit<NativeFunc<i32, i32>>,
pub dyn_call_ji: LazyInit<NativeFunc<(i32, i32), i32>>,
pub dyn_call_jii: LazyInit<NativeFunc<(i32, i32, i32), i32>>,
pub dyn_call_jij: LazyInit<NativeFunc<(i32, i32, i32, i32), i32>>,
pub dyn_call_jjj: LazyInit<NativeFunc<(i32, i32, i32, i32, i32), i32>>,
pub dyn_call_viiij: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32)>>,
pub dyn_call_viiijiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>>,
pub dyn_call_viiijiiiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>>,
pub dyn_call_viij: LazyInit<NativeFunc<(i32, i32, i32, i32, i32)>>,
pub dyn_call_viiji: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32)>>,
pub dyn_call_viijiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32)>>,
pub dyn_call_viijj: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32)>>,
pub dyn_call_vj: LazyInit<NativeFunc<(i32, i32, i32)>>,
pub dyn_call_vjji: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32)>>,
pub dyn_call_vij: LazyInit<NativeFunc<(i32, i32, i32, i32)>>,
pub dyn_call_viji: LazyInit<NativeFunc<(i32, i32, i32, i32, i32)>>,
pub dyn_call_vijiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32)>>,
pub dyn_call_vijj: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32)>>,
pub dyn_call_viid: LazyInit<NativeFunc<(i32, i32, i32, f64)>>,
pub dyn_call_vidd: LazyInit<NativeFunc<(i32, i32, f64, f64)>>,
pub dyn_call_viidii: LazyInit<NativeFunc<(i32, i32, i32, f64, i32, i32)>>,
pub dyn_call_viidddddddd: LazyInit<NativeFunc<(i32, i32, i32, f64, f64, f64, f64, f64, f64, f64, f64)>>,
pub temp_ret_0: i32,
pub stack_save: LazyInit<NativeFunc<(), i32>>,
pub stack_restore: LazyInit<NativeFunc<i32>>,
pub set_threw: LazyInit<NativeFunc<(i32, i32)>>,
pub mapped_dirs: HashMap<String, PathBuf>,
}
Fields
globals: EmscriptenGlobalsData
malloc: LazyInit<NativeFunc<u32, u32>>
free: LazyInit<NativeFunc<u32>>
memalign: LazyInit<NativeFunc<(u32, u32), u32>>
memset: LazyInit<NativeFunc<(u32, u32, u32), u32>>
stack_alloc: LazyInit<NativeFunc<u32, u32>>
jumps: Arc<Mutex<Vec<[u32; 27]>>>
opened_dirs: HashMap<i32, Box<LibcDirWrapper>>
dyn_call_i: LazyInit<NativeFunc<i32, i32>>
dyn_call_ii: LazyInit<NativeFunc<(i32, i32), i32>>
dyn_call_iii: LazyInit<NativeFunc<(i32, i32, i32), i32>>
dyn_call_iiii: LazyInit<NativeFunc<(i32, i32, i32, i32), i32>>
dyn_call_iifi: LazyInit<NativeFunc<(i32, i32, f64, i32), i32>>
dyn_call_v: LazyInit<NativeFunc<i32>>
dyn_call_vi: LazyInit<NativeFunc<(i32, i32)>>
dyn_call_vii: LazyInit<NativeFunc<(i32, i32, i32)>>
dyn_call_viii: LazyInit<NativeFunc<(i32, i32, i32, i32)>>
dyn_call_viiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32)>>
dyn_call_dii: LazyInit<NativeFunc<(i32, i32, i32), f64>>
dyn_call_diiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32), f64>>
dyn_call_iiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32), i32>>
dyn_call_iiiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32), i32>>
dyn_call_iiiiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32), i32>>
dyn_call_iiiiiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32), i32>>
dyn_call_iiiiiiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>>
dyn_call_iiiiiiiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>>
dyn_call_iiiiiiiiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>>
dyn_call_vd: LazyInit<NativeFunc<(i32, f64)>>
dyn_call_viiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32)>>
dyn_call_viiiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32)>>
dyn_call_viiiiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32)>>
dyn_call_viiiiiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32)>>
dyn_call_viiiiiiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>>
dyn_call_viiiiiiiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>>
dyn_call_iij: LazyInit<NativeFunc<(i32, i32, i32, i32), i32>>
dyn_call_iji: LazyInit<NativeFunc<(i32, i32, i32, i32), i32>>
dyn_call_iiji: LazyInit<NativeFunc<(i32, i32, i32, i32, i32), i32>>
dyn_call_iiijj: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32), i32>>
dyn_call_j: LazyInit<NativeFunc<i32, i32>>
dyn_call_ji: LazyInit<NativeFunc<(i32, i32), i32>>
dyn_call_jii: LazyInit<NativeFunc<(i32, i32, i32), i32>>
dyn_call_jij: LazyInit<NativeFunc<(i32, i32, i32, i32), i32>>
dyn_call_jjj: LazyInit<NativeFunc<(i32, i32, i32, i32, i32), i32>>
dyn_call_viiij: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32)>>
dyn_call_viiijiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>>
dyn_call_viiijiiiiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>>
dyn_call_viij: LazyInit<NativeFunc<(i32, i32, i32, i32, i32)>>
dyn_call_viiji: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32)>>
dyn_call_viijiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32)>>
dyn_call_viijj: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32)>>
dyn_call_vj: LazyInit<NativeFunc<(i32, i32, i32)>>
dyn_call_vjji: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32)>>
dyn_call_vij: LazyInit<NativeFunc<(i32, i32, i32, i32)>>
dyn_call_viji: LazyInit<NativeFunc<(i32, i32, i32, i32, i32)>>
dyn_call_vijiii: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32, i32)>>
dyn_call_vijj: LazyInit<NativeFunc<(i32, i32, i32, i32, i32, i32)>>
dyn_call_viid: LazyInit<NativeFunc<(i32, i32, i32, f64)>>
dyn_call_vidd: LazyInit<NativeFunc<(i32, i32, f64, f64)>>
dyn_call_viidii: LazyInit<NativeFunc<(i32, i32, i32, f64, i32, i32)>>
dyn_call_viidddddddd: LazyInit<NativeFunc<(i32, i32, i32, f64, f64, f64, f64, f64, f64, f64, f64)>>
temp_ret_0: i32
stack_save: LazyInit<NativeFunc<(), i32>>
stack_restore: LazyInit<NativeFunc<i32>>
set_threw: LazyInit<NativeFunc<(i32, i32)>>
mapped_dirs: HashMap<String, PathBuf>
Implementations
sourceimpl EmscriptenData
impl EmscriptenData
sourcepub fn malloc_ref(&self) -> Option<&NativeFunc<u32, u32>>
pub fn malloc_ref(&self) -> Option<&NativeFunc<u32, u32>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn malloc_ref_unchecked(&self) -> &NativeFunc<u32, u32>
pub unsafe fn malloc_ref_unchecked(&self) -> &NativeFunc<u32, u32>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn free_ref(&self) -> Option<&NativeFunc<u32>>
pub fn free_ref(&self) -> Option<&NativeFunc<u32>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn free_ref_unchecked(&self) -> &NativeFunc<u32>
pub unsafe fn free_ref_unchecked(&self) -> &NativeFunc<u32>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn memalign_ref(&self) -> Option<&NativeFunc<(u32, u32), u32>>
pub fn memalign_ref(&self) -> Option<&NativeFunc<(u32, u32), u32>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn memalign_ref_unchecked(&self) -> &NativeFunc<(u32, u32), u32>
pub unsafe fn memalign_ref_unchecked(&self) -> &NativeFunc<(u32, u32), u32>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn memset_ref(&self) -> Option<&NativeFunc<(u32, u32, u32), u32>>
pub fn memset_ref(&self) -> Option<&NativeFunc<(u32, u32, u32), u32>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn memset_ref_unchecked(&self) -> &NativeFunc<(u32, u32, u32), u32>
pub unsafe fn memset_ref_unchecked(&self) -> &NativeFunc<(u32, u32, u32), u32>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn stack_alloc_ref(&self) -> Option<&NativeFunc<u32, u32>>
pub fn stack_alloc_ref(&self) -> Option<&NativeFunc<u32, u32>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn stack_alloc_ref_unchecked(&self) -> &NativeFunc<u32, u32>
pub unsafe fn stack_alloc_ref_unchecked(&self) -> &NativeFunc<u32, u32>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_i_ref(&self) -> Option<&NativeFunc<i32, i32>>
pub fn dyn_call_i_ref(&self) -> Option<&NativeFunc<i32, i32>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_i_ref_unchecked(&self) -> &NativeFunc<i32, i32>
pub unsafe fn dyn_call_i_ref_unchecked(&self) -> &NativeFunc<i32, i32>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_ii_ref(&self) -> Option<&NativeFunc<(i32, i32), i32>>
pub fn dyn_call_ii_ref(&self) -> Option<&NativeFunc<(i32, i32), i32>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_ii_ref_unchecked(&self) -> &NativeFunc<(i32, i32), i32>
pub unsafe fn dyn_call_ii_ref_unchecked(&self) -> &NativeFunc<(i32, i32), i32>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_iii_ref(&self) -> Option<&NativeFunc<(i32, i32, i32), i32>>
pub fn dyn_call_iii_ref(&self) -> Option<&NativeFunc<(i32, i32, i32), i32>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_iii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32), i32>
pub unsafe fn dyn_call_iii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32), i32>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_iiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32), i32>>
pub fn dyn_call_iiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32), i32>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_iiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32), i32>
pub unsafe fn dyn_call_iiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32), i32>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_iifi_ref(
&self
) -> Option<&NativeFunc<(i32, i32, f64, i32), i32>>
pub fn dyn_call_iifi_ref(
&self
) -> Option<&NativeFunc<(i32, i32, f64, i32), i32>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_iifi_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, f64, i32), i32>
pub unsafe fn dyn_call_iifi_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, f64, i32), i32>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_v_ref(&self) -> Option<&NativeFunc<i32>>
pub fn dyn_call_v_ref(&self) -> Option<&NativeFunc<i32>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_v_ref_unchecked(&self) -> &NativeFunc<i32>
pub unsafe fn dyn_call_v_ref_unchecked(&self) -> &NativeFunc<i32>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_vi_ref(&self) -> Option<&NativeFunc<(i32, i32)>>
pub fn dyn_call_vi_ref(&self) -> Option<&NativeFunc<(i32, i32)>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_vi_ref_unchecked(&self) -> &NativeFunc<(i32, i32)>
pub unsafe fn dyn_call_vi_ref_unchecked(&self) -> &NativeFunc<(i32, i32)>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_vii_ref(&self) -> Option<&NativeFunc<(i32, i32, i32)>>
pub fn dyn_call_vii_ref(&self) -> Option<&NativeFunc<(i32, i32, i32)>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_vii_ref_unchecked(&self) -> &NativeFunc<(i32, i32, i32)>
pub unsafe fn dyn_call_vii_ref_unchecked(&self) -> &NativeFunc<(i32, i32, i32)>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_viii_ref(&self) -> Option<&NativeFunc<(i32, i32, i32, i32)>>
pub fn dyn_call_viii_ref(&self) -> Option<&NativeFunc<(i32, i32, i32, i32)>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_viii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32)>
pub unsafe fn dyn_call_viii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32)>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_viiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32)>>
pub fn dyn_call_viiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32)>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_viiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32)>
pub unsafe fn dyn_call_viiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32)>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_dii_ref(&self) -> Option<&NativeFunc<(i32, i32, i32), f64>>
pub fn dyn_call_dii_ref(&self) -> Option<&NativeFunc<(i32, i32, i32), f64>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_dii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32), f64>
pub unsafe fn dyn_call_dii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32), f64>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_diiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32), f64>>
pub fn dyn_call_diiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32), f64>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_diiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32), f64>
pub unsafe fn dyn_call_diiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32), f64>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_iiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32), i32>>
pub fn dyn_call_iiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32), i32>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_iiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32), i32>
pub unsafe fn dyn_call_iiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32), i32>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_iiiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32), i32>>
pub fn dyn_call_iiiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32), i32>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_iiiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32), i32>
pub unsafe fn dyn_call_iiiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32), i32>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_iiiiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32), i32>>
pub fn dyn_call_iiiiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32), i32>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_iiiiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32), i32>
pub unsafe fn dyn_call_iiiiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32), i32>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_iiiiiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32), i32>>
pub fn dyn_call_iiiiiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32), i32>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_iiiiiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32), i32>
pub unsafe fn dyn_call_iiiiiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32), i32>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_iiiiiiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>>
pub fn dyn_call_iiiiiiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_iiiiiiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>
pub unsafe fn dyn_call_iiiiiiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_iiiiiiiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>>
pub fn dyn_call_iiiiiiiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_iiiiiiiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>
pub unsafe fn dyn_call_iiiiiiiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_iiiiiiiiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>>
pub fn dyn_call_iiiiiiiiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_iiiiiiiiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>
pub unsafe fn dyn_call_iiiiiiiiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_vd_ref(&self) -> Option<&NativeFunc<(i32, f64)>>
pub fn dyn_call_vd_ref(&self) -> Option<&NativeFunc<(i32, f64)>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_vd_ref_unchecked(&self) -> &NativeFunc<(i32, f64)>
pub unsafe fn dyn_call_vd_ref_unchecked(&self) -> &NativeFunc<(i32, f64)>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_viiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32)>>
pub fn dyn_call_viiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32)>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_viiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32)>
pub unsafe fn dyn_call_viiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32)>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_viiiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32)>>
pub fn dyn_call_viiiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32)>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_viiiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32)>
pub unsafe fn dyn_call_viiiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32)>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_viiiiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32)>>
pub fn dyn_call_viiiiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32)>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_viiiiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32)>
pub unsafe fn dyn_call_viiiiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32)>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_viiiiiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32)>>
pub fn dyn_call_viiiiiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32)>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_viiiiiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32)>
pub unsafe fn dyn_call_viiiiiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32)>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_viiiiiiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>>
pub fn dyn_call_viiiiiiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_viiiiiiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>
pub unsafe fn dyn_call_viiiiiiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_viiiiiiiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>>
pub fn dyn_call_viiiiiiiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_viiiiiiiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>
pub unsafe fn dyn_call_viiiiiiiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_iij_ref(&self) -> Option<&NativeFunc<(i32, i32, i32, i32), i32>>
pub fn dyn_call_iij_ref(&self) -> Option<&NativeFunc<(i32, i32, i32, i32), i32>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_iij_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32), i32>
pub unsafe fn dyn_call_iij_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32), i32>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_iji_ref(&self) -> Option<&NativeFunc<(i32, i32, i32, i32), i32>>
pub fn dyn_call_iji_ref(&self) -> Option<&NativeFunc<(i32, i32, i32, i32), i32>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_iji_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32), i32>
pub unsafe fn dyn_call_iji_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32), i32>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_iiji_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32), i32>>
pub fn dyn_call_iiji_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32), i32>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_iiji_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32), i32>
pub unsafe fn dyn_call_iiji_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32), i32>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_iiijj_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32), i32>>
pub fn dyn_call_iiijj_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32), i32>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_iiijj_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32), i32>
pub unsafe fn dyn_call_iiijj_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32), i32>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_j_ref(&self) -> Option<&NativeFunc<i32, i32>>
pub fn dyn_call_j_ref(&self) -> Option<&NativeFunc<i32, i32>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_j_ref_unchecked(&self) -> &NativeFunc<i32, i32>
pub unsafe fn dyn_call_j_ref_unchecked(&self) -> &NativeFunc<i32, i32>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_ji_ref(&self) -> Option<&NativeFunc<(i32, i32), i32>>
pub fn dyn_call_ji_ref(&self) -> Option<&NativeFunc<(i32, i32), i32>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_ji_ref_unchecked(&self) -> &NativeFunc<(i32, i32), i32>
pub unsafe fn dyn_call_ji_ref_unchecked(&self) -> &NativeFunc<(i32, i32), i32>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_jii_ref(&self) -> Option<&NativeFunc<(i32, i32, i32), i32>>
pub fn dyn_call_jii_ref(&self) -> Option<&NativeFunc<(i32, i32, i32), i32>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_jii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32), i32>
pub unsafe fn dyn_call_jii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32), i32>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_jij_ref(&self) -> Option<&NativeFunc<(i32, i32, i32, i32), i32>>
pub fn dyn_call_jij_ref(&self) -> Option<&NativeFunc<(i32, i32, i32, i32), i32>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_jij_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32), i32>
pub unsafe fn dyn_call_jij_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32), i32>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_jjj_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32), i32>>
pub fn dyn_call_jjj_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32), i32>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_jjj_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32), i32>
pub unsafe fn dyn_call_jjj_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32), i32>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_viiij_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32)>>
pub fn dyn_call_viiij_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32)>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_viiij_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32)>
pub unsafe fn dyn_call_viiij_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32)>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_viiijiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>>
pub fn dyn_call_viiijiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_viiijiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>
pub unsafe fn dyn_call_viiijiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_viiijiiiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>>
pub fn dyn_call_viiijiiiiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_viiijiiiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>
pub unsafe fn dyn_call_viiijiiiiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_viij_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32)>>
pub fn dyn_call_viij_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32)>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_viij_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32)>
pub unsafe fn dyn_call_viij_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32)>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_viiji_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32)>>
pub fn dyn_call_viiji_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32)>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_viiji_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32)>
pub unsafe fn dyn_call_viiji_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32)>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_viijiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32)>>
pub fn dyn_call_viijiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32)>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_viijiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32)>
pub unsafe fn dyn_call_viijiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32)>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_viijj_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32)>>
pub fn dyn_call_viijj_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32)>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_viijj_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32)>
pub unsafe fn dyn_call_viijj_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32)>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_vj_ref(&self) -> Option<&NativeFunc<(i32, i32, i32)>>
pub fn dyn_call_vj_ref(&self) -> Option<&NativeFunc<(i32, i32, i32)>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_vj_ref_unchecked(&self) -> &NativeFunc<(i32, i32, i32)>
pub unsafe fn dyn_call_vj_ref_unchecked(&self) -> &NativeFunc<(i32, i32, i32)>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_vjji_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32)>>
pub fn dyn_call_vjji_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32)>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_vjji_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32)>
pub unsafe fn dyn_call_vjji_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32)>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_vij_ref(&self) -> Option<&NativeFunc<(i32, i32, i32, i32)>>
pub fn dyn_call_vij_ref(&self) -> Option<&NativeFunc<(i32, i32, i32, i32)>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_vij_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32)>
pub unsafe fn dyn_call_vij_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32)>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_viji_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32)>>
pub fn dyn_call_viji_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32)>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_viji_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32)>
pub unsafe fn dyn_call_viji_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32)>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_vijiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32)>>
pub fn dyn_call_vijiii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32)>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_vijiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32)>
pub unsafe fn dyn_call_vijiii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32)>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_vijj_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32)>>
pub fn dyn_call_vijj_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32)>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_vijj_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32)>
pub unsafe fn dyn_call_vijj_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32)>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_viid_ref(&self) -> Option<&NativeFunc<(i32, i32, i32, f64)>>
pub fn dyn_call_viid_ref(&self) -> Option<&NativeFunc<(i32, i32, i32, f64)>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_viid_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, f64)>
pub unsafe fn dyn_call_viid_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, f64)>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_vidd_ref(&self) -> Option<&NativeFunc<(i32, i32, f64, f64)>>
pub fn dyn_call_vidd_ref(&self) -> Option<&NativeFunc<(i32, i32, f64, f64)>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_vidd_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, f64, f64)>
pub unsafe fn dyn_call_vidd_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, f64, f64)>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_viidii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, f64, i32, i32)>>
pub fn dyn_call_viidii_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, f64, i32, i32)>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_viidii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, f64, i32, i32)>
pub unsafe fn dyn_call_viidii_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, f64, i32, i32)>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn dyn_call_viidddddddd_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, f64, f64, f64, f64, f64, f64, f64, f64)>>
pub fn dyn_call_viidddddddd_ref(
&self
) -> Option<&NativeFunc<(i32, i32, i32, f64, f64, f64, f64, f64, f64, f64, f64)>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn dyn_call_viidddddddd_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, f64, f64, f64, f64, f64, f64, f64, f64)>
pub unsafe fn dyn_call_viidddddddd_ref_unchecked(
&self
) -> &NativeFunc<(i32, i32, i32, f64, f64, f64, f64, f64, f64, f64, f64)>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn stack_save_ref(&self) -> Option<&NativeFunc<(), i32>>
pub fn stack_save_ref(&self) -> Option<&NativeFunc<(), i32>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn stack_save_ref_unchecked(&self) -> &NativeFunc<(), i32>
pub unsafe fn stack_save_ref_unchecked(&self) -> &NativeFunc<(), i32>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn stack_restore_ref(&self) -> Option<&NativeFunc<i32>>
pub fn stack_restore_ref(&self) -> Option<&NativeFunc<i32>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn stack_restore_ref_unchecked(&self) -> &NativeFunc<i32>
pub unsafe fn stack_restore_ref_unchecked(&self) -> &NativeFunc<i32>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourcepub fn set_threw_ref(&self) -> Option<&NativeFunc<(i32, i32)>>
pub fn set_threw_ref(&self) -> Option<&NativeFunc<(i32, i32)>>
Get access to the underlying data.
If WasmerEnv::finish
has been called, this function will never
return None
unless the underlying data has been mutated manually.
sourcepub unsafe fn set_threw_ref_unchecked(&self) -> &NativeFunc<(i32, i32)>
pub unsafe fn set_threw_ref_unchecked(&self) -> &NativeFunc<(i32, i32)>
Gets the item without checking if it’s been initialized.
Safety
WasmerEnv::finish
must have been called on this function or
this type manually initialized.
sourceimpl EmscriptenData
impl EmscriptenData
pub fn new(
globals: EmscriptenGlobalsData,
mapped_dirs: HashMap<String, PathBuf>
) -> EmscriptenData
Trait Implementations
sourceimpl Clone for EmscriptenData
impl Clone for EmscriptenData
sourcefn clone(&self) -> EmscriptenData
fn clone(&self) -> EmscriptenData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for EmscriptenData
impl Default for EmscriptenData
sourcefn default() -> EmscriptenData
fn default() -> EmscriptenData
Returns the “default value” for a type. Read more
sourceimpl WasmerEnv for EmscriptenData
impl WasmerEnv for EmscriptenData
sourcefn init_with_instance(
&mut self,
instance: &Instance
) -> Result<(), HostEnvInitError>
fn init_with_instance(
&mut self,
instance: &Instance
) -> Result<(), HostEnvInitError>
The function that Wasmer will call on your type to let it finish
setting up the environment with data from the Instance
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for EmscriptenData
impl Send for EmscriptenData
impl Sync for EmscriptenData
impl Unpin for EmscriptenData
impl !UnwindSafe for EmscriptenData
Blanket Implementations
impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
pub fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
pub fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more