[][src]Struct wasmer_emscripten::EmscriptenData

pub struct EmscriptenData {
    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: EmscriptenGlobalsDatamalloc: 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: i32stack_save: LazyInit<NativeFunc<(), i32>>stack_restore: LazyInit<NativeFunc<i32>>set_threw: LazyInit<NativeFunc<(i32, i32)>>mapped_dirs: HashMap<String, PathBuf>

Implementations

impl EmscriptenData[src]

pub fn malloc_ref(&self) -> Option<&NativeFunc<u32, u32>>[src]

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.

pub unsafe fn malloc_ref_unchecked(&self) -> &NativeFunc<u32, u32>[src]

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.

pub fn free_ref(&self) -> Option<&NativeFunc<u32>>[src]

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.

pub unsafe fn free_ref_unchecked(&self) -> &NativeFunc<u32>[src]

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.

pub fn memalign_ref(&self) -> Option<&NativeFunc<(u32, u32), u32>>[src]

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.

pub unsafe fn memalign_ref_unchecked(&self) -> &NativeFunc<(u32, u32), u32>[src]

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.

pub fn memset_ref(&self) -> Option<&NativeFunc<(u32, u32, u32), u32>>[src]

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.

pub unsafe fn memset_ref_unchecked(&self) -> &NativeFunc<(u32, u32, u32), u32>[src]

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.

pub fn stack_alloc_ref(&self) -> Option<&NativeFunc<u32, u32>>[src]

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.

pub unsafe fn stack_alloc_ref_unchecked(&self) -> &NativeFunc<u32, u32>[src]

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.

pub fn dyn_call_i_ref(&self) -> Option<&NativeFunc<i32, i32>>[src]

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.

pub unsafe fn dyn_call_i_ref_unchecked(&self) -> &NativeFunc<i32, i32>[src]

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.

pub fn dyn_call_ii_ref(&self) -> Option<&NativeFunc<(i32, i32), i32>>[src]

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.

pub unsafe fn dyn_call_ii_ref_unchecked(&self) -> &NativeFunc<(i32, i32), i32>[src]

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.

pub fn dyn_call_iii_ref(&self) -> Option<&NativeFunc<(i32, i32, i32), i32>>[src]

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.

pub unsafe fn dyn_call_iii_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32), i32>
[src]

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.

pub fn dyn_call_iiii_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32), i32>>
[src]

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.

pub unsafe fn dyn_call_iiii_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32), i32>
[src]

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.

pub fn dyn_call_iifi_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, f64, i32), i32>>
[src]

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.

pub unsafe fn dyn_call_iifi_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, f64, i32), i32>
[src]

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.

pub fn dyn_call_v_ref(&self) -> Option<&NativeFunc<i32>>[src]

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.

pub unsafe fn dyn_call_v_ref_unchecked(&self) -> &NativeFunc<i32>[src]

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.

pub fn dyn_call_vi_ref(&self) -> Option<&NativeFunc<(i32, i32)>>[src]

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.

pub unsafe fn dyn_call_vi_ref_unchecked(&self) -> &NativeFunc<(i32, i32)>[src]

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.

pub fn dyn_call_vii_ref(&self) -> Option<&NativeFunc<(i32, i32, i32)>>[src]

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.

pub unsafe fn dyn_call_vii_ref_unchecked(&self) -> &NativeFunc<(i32, i32, i32)>[src]

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.

pub fn dyn_call_viii_ref(&self) -> Option<&NativeFunc<(i32, i32, i32, i32)>>[src]

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.

pub unsafe fn dyn_call_viii_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32)>
[src]

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.

pub fn dyn_call_viiii_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32)>>
[src]

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.

pub unsafe fn dyn_call_viiii_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32, i32)>
[src]

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.

pub fn dyn_call_dii_ref(&self) -> Option<&NativeFunc<(i32, i32, i32), f64>>[src]

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.

pub unsafe fn dyn_call_dii_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32), f64>
[src]

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.

pub fn dyn_call_diiii_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32), f64>>
[src]

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.

pub unsafe fn dyn_call_diiii_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32, i32), f64>
[src]

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.

pub fn dyn_call_iiiii_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32), i32>>
[src]

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.

pub unsafe fn dyn_call_iiiii_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32, i32), i32>
[src]

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.

pub fn dyn_call_iiiiii_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32), i32>>
[src]

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.

pub unsafe fn dyn_call_iiiiii_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32), i32>
[src]

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.

pub fn dyn_call_iiiiiii_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32), i32>>
[src]

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.

pub unsafe fn dyn_call_iiiiiii_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32), i32>
[src]

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.

pub fn dyn_call_iiiiiiii_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32), i32>>
[src]

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.

pub unsafe fn dyn_call_iiiiiiii_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32), i32>
[src]

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.

pub fn dyn_call_iiiiiiiii_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>>
[src]

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.

pub unsafe fn dyn_call_iiiiiiiii_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>
[src]

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.

pub fn dyn_call_iiiiiiiiii_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>>
[src]

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.

pub unsafe fn dyn_call_iiiiiiiiii_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>
[src]

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.

pub fn dyn_call_iiiiiiiiiii_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>>
[src]

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.

pub unsafe fn dyn_call_iiiiiiiiiii_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>
[src]

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.

pub fn dyn_call_vd_ref(&self) -> Option<&NativeFunc<(i32, f64)>>[src]

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.

pub unsafe fn dyn_call_vd_ref_unchecked(&self) -> &NativeFunc<(i32, f64)>[src]

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.

pub fn dyn_call_viiiii_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32)>>
[src]

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.

pub unsafe fn dyn_call_viiiii_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32)>
[src]

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.

pub fn dyn_call_viiiiii_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32)>>
[src]

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.

pub unsafe fn dyn_call_viiiiii_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32)>
[src]

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.

pub fn dyn_call_viiiiiii_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32)>>
[src]

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.

pub unsafe fn dyn_call_viiiiiii_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32)>
[src]

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.

pub fn dyn_call_viiiiiiii_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32)>>
[src]

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.

pub unsafe fn dyn_call_viiiiiiii_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32)>
[src]

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.

pub fn dyn_call_viiiiiiiii_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>>
[src]

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.

pub unsafe fn dyn_call_viiiiiiiii_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>
[src]

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.

pub fn dyn_call_viiiiiiiiii_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>>
[src]

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.

pub unsafe fn dyn_call_viiiiiiiiii_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>
[src]

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.

pub fn dyn_call_iij_ref(&self) -> Option<&NativeFunc<(i32, i32, i32, i32), i32>>[src]

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.

pub unsafe fn dyn_call_iij_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32), i32>
[src]

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.

pub fn dyn_call_iji_ref(&self) -> Option<&NativeFunc<(i32, i32, i32, i32), i32>>[src]

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.

pub unsafe fn dyn_call_iji_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32), i32>
[src]

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.

pub fn dyn_call_iiji_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32), i32>>
[src]

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.

pub unsafe fn dyn_call_iiji_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32, i32), i32>
[src]

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.

pub fn dyn_call_iiijj_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32), i32>>
[src]

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.

pub unsafe fn dyn_call_iiijj_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32), i32>
[src]

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.

pub fn dyn_call_j_ref(&self) -> Option<&NativeFunc<i32, i32>>[src]

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.

pub unsafe fn dyn_call_j_ref_unchecked(&self) -> &NativeFunc<i32, i32>[src]

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.

pub fn dyn_call_ji_ref(&self) -> Option<&NativeFunc<(i32, i32), i32>>[src]

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.

pub unsafe fn dyn_call_ji_ref_unchecked(&self) -> &NativeFunc<(i32, i32), i32>[src]

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.

pub fn dyn_call_jii_ref(&self) -> Option<&NativeFunc<(i32, i32, i32), i32>>[src]

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.

pub unsafe fn dyn_call_jii_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32), i32>
[src]

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.

pub fn dyn_call_jij_ref(&self) -> Option<&NativeFunc<(i32, i32, i32, i32), i32>>[src]

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.

pub unsafe fn dyn_call_jij_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32), i32>
[src]

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.

pub fn dyn_call_jjj_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32), i32>>
[src]

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.

pub unsafe fn dyn_call_jjj_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32, i32), i32>
[src]

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.

pub fn dyn_call_viiij_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32)>>
[src]

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.

pub unsafe fn dyn_call_viiij_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32)>
[src]

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.

pub fn dyn_call_viiijiiii_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>>
[src]

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.

pub unsafe fn dyn_call_viiijiiii_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>
[src]

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.

pub fn dyn_call_viiijiiiiii_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>>
[src]

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.

pub unsafe fn dyn_call_viiijiiiiii_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)>
[src]

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.

pub fn dyn_call_viij_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32)>>
[src]

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.

pub unsafe fn dyn_call_viij_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32, i32)>
[src]

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.

pub fn dyn_call_viiji_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32)>>
[src]

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.

pub unsafe fn dyn_call_viiji_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32)>
[src]

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.

pub fn dyn_call_viijiii_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32)>>
[src]

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.

pub unsafe fn dyn_call_viijiii_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32, i32)>
[src]

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.

pub fn dyn_call_viijj_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32)>>
[src]

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.

pub unsafe fn dyn_call_viijj_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32)>
[src]

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.

pub fn dyn_call_vj_ref(&self) -> Option<&NativeFunc<(i32, i32, i32)>>[src]

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.

pub unsafe fn dyn_call_vj_ref_unchecked(&self) -> &NativeFunc<(i32, i32, i32)>[src]

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.

pub fn dyn_call_vjji_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32)>>
[src]

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.

pub unsafe fn dyn_call_vjji_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32)>
[src]

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.

pub fn dyn_call_vij_ref(&self) -> Option<&NativeFunc<(i32, i32, i32, i32)>>[src]

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.

pub unsafe fn dyn_call_vij_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32)>
[src]

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.

pub fn dyn_call_viji_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32)>>
[src]

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.

pub unsafe fn dyn_call_viji_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32, i32)>
[src]

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.

pub fn dyn_call_vijiii_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32, i32)>>
[src]

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.

pub unsafe fn dyn_call_vijiii_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32, i32)>
[src]

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.

pub fn dyn_call_vijj_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, i32, i32, i32)>>
[src]

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.

pub unsafe fn dyn_call_vijj_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, i32, i32, i32)>
[src]

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.

pub fn dyn_call_viid_ref(&self) -> Option<&NativeFunc<(i32, i32, i32, f64)>>[src]

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.

pub unsafe fn dyn_call_viid_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, f64)>
[src]

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.

pub fn dyn_call_vidd_ref(&self) -> Option<&NativeFunc<(i32, i32, f64, f64)>>[src]

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.

pub unsafe fn dyn_call_vidd_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, f64, f64)>
[src]

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.

pub fn dyn_call_viidii_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, f64, i32, i32)>>
[src]

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.

pub unsafe fn dyn_call_viidii_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, f64, i32, i32)>
[src]

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.

pub fn dyn_call_viidddddddd_ref(
    &self
) -> Option<&NativeFunc<(i32, i32, i32, f64, f64, f64, f64, f64, f64, f64, f64)>>
[src]

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.

pub unsafe fn dyn_call_viidddddddd_ref_unchecked(
    &self
) -> &NativeFunc<(i32, i32, i32, f64, f64, f64, f64, f64, f64, f64, f64)>
[src]

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.

pub fn stack_save_ref(&self) -> Option<&NativeFunc<(), i32>>[src]

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.

pub unsafe fn stack_save_ref_unchecked(&self) -> &NativeFunc<(), i32>[src]

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.

pub fn stack_restore_ref(&self) -> Option<&NativeFunc<i32>>[src]

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.

pub unsafe fn stack_restore_ref_unchecked(&self) -> &NativeFunc<i32>[src]

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.

pub fn set_threw_ref(&self) -> Option<&NativeFunc<(i32, i32)>>[src]

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.

pub unsafe fn set_threw_ref_unchecked(&self) -> &NativeFunc<(i32, i32)>[src]

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.

impl EmscriptenData[src]

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

Trait Implementations

impl Clone for EmscriptenData[src]

impl Default for EmscriptenData[src]

impl WasmerEnv for EmscriptenData[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.