EmscriptenData

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

Source§

impl EmscriptenData

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source§

impl EmscriptenData

Source

pub fn new( globals: EmscriptenGlobalsData, mapped_dirs: HashMap<String, PathBuf>, ) -> EmscriptenData

Trait Implementations§

Source§

impl Clone for EmscriptenData

Source§

fn clone(&self) -> EmscriptenData

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for EmscriptenData

Source§

fn default() -> EmscriptenData

Returns the “default value” for a type. Read more
Source§

impl WasmerEnv for EmscriptenData

Source§

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§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.