Struct wasmer_emscripten::EmscriptenFunctions
source · pub struct EmscriptenFunctions {Show 60 fields
pub malloc: Option<TypedFunction<u32, u32>>,
pub free: Option<TypedFunction<u32, ()>>,
pub memalign: Option<TypedFunction<(u32, u32), u32>>,
pub memset: Option<TypedFunction<(u32, u32, u32), u32>>,
pub stack_alloc: Option<TypedFunction<u32, u32>>,
pub dyn_call_i: Option<TypedFunction<i32, i32>>,
pub dyn_call_ii: Option<TypedFunction<(i32, i32), i32>>,
pub dyn_call_iii: Option<TypedFunction<(i32, i32, i32), i32>>,
pub dyn_call_iiii: Option<TypedFunction<(i32, i32, i32, i32), i32>>,
pub dyn_call_iifi: Option<TypedFunction<(i32, i32, f64, i32), i32>>,
pub dyn_call_v: Option<TypedFunction<i32, ()>>,
pub dyn_call_vi: Option<TypedFunction<(i32, i32), ()>>,
pub dyn_call_vii: Option<TypedFunction<(i32, i32, i32), ()>>,
pub dyn_call_viii: Option<TypedFunction<(i32, i32, i32, i32), ()>>,
pub dyn_call_viiii: Option<TypedFunction<(i32, i32, i32, i32, i32), ()>>,
pub dyn_call_dii: Option<TypedFunction<(i32, i32, i32), f64>>,
pub dyn_call_diiii: Option<TypedFunction<(i32, i32, i32, i32, i32), f64>>,
pub dyn_call_iiiii: Option<TypedFunction<(i32, i32, i32, i32, i32), i32>>,
pub dyn_call_iiiiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32), i32>>,
pub dyn_call_iiiiiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32), i32>>,
pub dyn_call_iiiiiiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32), i32>>,
pub dyn_call_iiiiiiiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>>,
pub dyn_call_iiiiiiiiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>>,
pub dyn_call_iiiiiiiiiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>>,
pub dyn_call_vd: Option<TypedFunction<(i32, f64), ()>>,
pub dyn_call_viiiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32), ()>>,
pub dyn_call_viiiiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32), ()>>,
pub dyn_call_viiiiiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32), ()>>,
pub dyn_call_viiiiiiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32, i32), ()>>,
pub dyn_call_viiiiiiiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), ()>>,
pub dyn_call_viiiiiiiiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), ()>>,
pub dyn_call_iij: Option<TypedFunction<(i32, i32, i32, i32), i32>>,
pub dyn_call_iji: Option<TypedFunction<(i32, i32, i32, i32), i32>>,
pub dyn_call_iiji: Option<TypedFunction<(i32, i32, i32, i32, i32), i32>>,
pub dyn_call_iiijj: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32), i32>>,
pub dyn_call_j: Option<TypedFunction<i32, i32>>,
pub dyn_call_ji: Option<TypedFunction<(i32, i32), i32>>,
pub dyn_call_jii: Option<TypedFunction<(i32, i32, i32), i32>>,
pub dyn_call_jij: Option<TypedFunction<(i32, i32, i32, i32), i32>>,
pub dyn_call_jjj: Option<TypedFunction<(i32, i32, i32, i32, i32), i32>>,
pub dyn_call_viiij: Option<TypedFunction<(i32, i32, i32, i32, i32, i32), ()>>,
pub dyn_call_viiijiiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), ()>>,
pub dyn_call_viiijiiiiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), ()>>,
pub dyn_call_viij: Option<TypedFunction<(i32, i32, i32, i32, i32), ()>>,
pub dyn_call_viiji: Option<TypedFunction<(i32, i32, i32, i32, i32, i32), ()>>,
pub dyn_call_viijiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32), ()>>,
pub dyn_call_viijj: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32), ()>>,
pub dyn_call_vj: Option<TypedFunction<(i32, i32, i32), ()>>,
pub dyn_call_vjji: Option<TypedFunction<(i32, i32, i32, i32, i32, i32), ()>>,
pub dyn_call_vij: Option<TypedFunction<(i32, i32, i32, i32), ()>>,
pub dyn_call_viji: Option<TypedFunction<(i32, i32, i32, i32, i32), ()>>,
pub dyn_call_vijiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32), ()>>,
pub dyn_call_vijj: Option<TypedFunction<(i32, i32, i32, i32, i32, i32), ()>>,
pub dyn_call_viid: Option<TypedFunction<(i32, i32, i32, f64), ()>>,
pub dyn_call_vidd: Option<TypedFunction<(i32, i32, f64, f64), ()>>,
pub dyn_call_viidii: Option<TypedFunction<(i32, i32, i32, f64, i32, i32), ()>>,
pub dyn_call_viidddddddd: Option<TypedFunction<(i32, i32, i32, f64, f64, f64, f64, f64, f64, f64, f64), ()>>,
pub stack_save: Option<TypedFunction<(), i32>>,
pub stack_restore: Option<TypedFunction<i32, ()>>,
pub set_threw: Option<TypedFunction<(i32, i32), ()>>,
}
Fields§
§malloc: Option<TypedFunction<u32, u32>>
§free: Option<TypedFunction<u32, ()>>
§memalign: Option<TypedFunction<(u32, u32), u32>>
§memset: Option<TypedFunction<(u32, u32, u32), u32>>
§stack_alloc: Option<TypedFunction<u32, u32>>
§dyn_call_i: Option<TypedFunction<i32, i32>>
§dyn_call_ii: Option<TypedFunction<(i32, i32), i32>>
§dyn_call_iii: Option<TypedFunction<(i32, i32, i32), i32>>
§dyn_call_iiii: Option<TypedFunction<(i32, i32, i32, i32), i32>>
§dyn_call_iifi: Option<TypedFunction<(i32, i32, f64, i32), i32>>
§dyn_call_v: Option<TypedFunction<i32, ()>>
§dyn_call_vi: Option<TypedFunction<(i32, i32), ()>>
§dyn_call_vii: Option<TypedFunction<(i32, i32, i32), ()>>
§dyn_call_viii: Option<TypedFunction<(i32, i32, i32, i32), ()>>
§dyn_call_viiii: Option<TypedFunction<(i32, i32, i32, i32, i32), ()>>
§dyn_call_dii: Option<TypedFunction<(i32, i32, i32), f64>>
§dyn_call_diiii: Option<TypedFunction<(i32, i32, i32, i32, i32), f64>>
§dyn_call_iiiii: Option<TypedFunction<(i32, i32, i32, i32, i32), i32>>
§dyn_call_iiiiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32), i32>>
§dyn_call_iiiiiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32), i32>>
§dyn_call_iiiiiiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32), i32>>
§dyn_call_iiiiiiiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>>
§dyn_call_iiiiiiiiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>>
§dyn_call_iiiiiiiiiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>>
§dyn_call_vd: Option<TypedFunction<(i32, f64), ()>>
§dyn_call_viiiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32), ()>>
§dyn_call_viiiiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32), ()>>
§dyn_call_viiiiiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32), ()>>
§dyn_call_viiiiiiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32, i32), ()>>
§dyn_call_viiiiiiiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), ()>>
§dyn_call_viiiiiiiiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), ()>>
§dyn_call_iij: Option<TypedFunction<(i32, i32, i32, i32), i32>>
§dyn_call_iji: Option<TypedFunction<(i32, i32, i32, i32), i32>>
§dyn_call_iiji: Option<TypedFunction<(i32, i32, i32, i32, i32), i32>>
§dyn_call_iiijj: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32), i32>>
§dyn_call_j: Option<TypedFunction<i32, i32>>
§dyn_call_ji: Option<TypedFunction<(i32, i32), i32>>
§dyn_call_jii: Option<TypedFunction<(i32, i32, i32), i32>>
§dyn_call_jij: Option<TypedFunction<(i32, i32, i32, i32), i32>>
§dyn_call_jjj: Option<TypedFunction<(i32, i32, i32, i32, i32), i32>>
§dyn_call_viiij: Option<TypedFunction<(i32, i32, i32, i32, i32, i32), ()>>
§dyn_call_viiijiiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), ()>>
§dyn_call_viiijiiiiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), ()>>
§dyn_call_viij: Option<TypedFunction<(i32, i32, i32, i32, i32), ()>>
§dyn_call_viiji: Option<TypedFunction<(i32, i32, i32, i32, i32, i32), ()>>
§dyn_call_viijiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32), ()>>
§dyn_call_viijj: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32), ()>>
§dyn_call_vj: Option<TypedFunction<(i32, i32, i32), ()>>
§dyn_call_vjji: Option<TypedFunction<(i32, i32, i32, i32, i32, i32), ()>>
§dyn_call_vij: Option<TypedFunction<(i32, i32, i32, i32), ()>>
§dyn_call_viji: Option<TypedFunction<(i32, i32, i32, i32, i32), ()>>
§dyn_call_vijiii: Option<TypedFunction<(i32, i32, i32, i32, i32, i32, i32), ()>>
§dyn_call_vijj: Option<TypedFunction<(i32, i32, i32, i32, i32, i32), ()>>
§dyn_call_viid: Option<TypedFunction<(i32, i32, i32, f64), ()>>
§dyn_call_vidd: Option<TypedFunction<(i32, i32, f64, f64), ()>>
§dyn_call_viidii: Option<TypedFunction<(i32, i32, i32, f64, i32, i32), ()>>
§dyn_call_viidddddddd: Option<TypedFunction<(i32, i32, i32, f64, f64, f64, f64, f64, f64, f64, f64), ()>>
§stack_save: Option<TypedFunction<(), i32>>
§stack_restore: Option<TypedFunction<i32, ()>>
§set_threw: Option<TypedFunction<(i32, i32), ()>>
Implementations§
source§impl EmscriptenFunctions
impl EmscriptenFunctions
pub fn new() -> EmscriptenFunctions
pub fn malloc_ref(&self) -> Option<&TypedFunction<u32, u32>>
pub fn free_ref(&self) -> Option<&TypedFunction<u32, ()>>
pub fn memalign_ref(&self) -> Option<&TypedFunction<(u32, u32), u32>>
pub fn memset_ref(&self) -> Option<&TypedFunction<(u32, u32, u32), u32>>
pub fn stack_alloc_ref(&self) -> Option<&TypedFunction<u32, u32>>
pub fn dyn_call_i_ref(&self) -> Option<&TypedFunction<i32, i32>>
pub fn dyn_call_ii_ref(&self) -> Option<&TypedFunction<(i32, i32), i32>>
pub fn dyn_call_iii_ref(&self) -> Option<&TypedFunction<(i32, i32, i32), i32>>
pub fn dyn_call_iiii_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32), i32>>
pub fn dyn_call_iifi_ref( &self, ) -> Option<&TypedFunction<(i32, i32, f64, i32), i32>>
pub fn dyn_call_v_ref(&self) -> Option<&TypedFunction<i32, ()>>
pub fn dyn_call_vi_ref(&self) -> Option<&TypedFunction<(i32, i32), ()>>
pub fn dyn_call_vii_ref(&self) -> Option<&TypedFunction<(i32, i32, i32), ()>>
pub fn dyn_call_viii_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32), ()>>
pub fn dyn_call_viiii_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32, i32), ()>>
pub fn dyn_call_dii_ref(&self) -> Option<&TypedFunction<(i32, i32, i32), f64>>
pub fn dyn_call_diiii_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32, i32), f64>>
pub fn dyn_call_iiiii_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32, i32), i32>>
pub fn dyn_call_iiiiii_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32, i32, i32), i32>>
pub fn dyn_call_iiiiiii_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32, i32, i32, i32), i32>>
pub fn dyn_call_iiiiiiii_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32), i32>>
pub fn dyn_call_iiiiiiiii_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>>
pub fn dyn_call_iiiiiiiiii_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>>
pub fn dyn_call_iiiiiiiiiii_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), i32>>
pub fn dyn_call_vd_ref(&self) -> Option<&TypedFunction<(i32, f64), ()>>
pub fn dyn_call_viiiii_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32, i32, i32), ()>>
pub fn dyn_call_viiiiii_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32, i32, i32, i32), ()>>
pub fn dyn_call_viiiiiii_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32), ()>>
pub fn dyn_call_viiiiiiii_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32, i32), ()>>
pub fn dyn_call_viiiiiiiii_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), ()>>
pub fn dyn_call_viiiiiiiiii_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), ()>>
pub fn dyn_call_iij_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32), i32>>
pub fn dyn_call_iji_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32), i32>>
pub fn dyn_call_iiji_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32, i32), i32>>
pub fn dyn_call_iiijj_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32, i32, i32, i32), i32>>
pub fn dyn_call_j_ref(&self) -> Option<&TypedFunction<i32, i32>>
pub fn dyn_call_ji_ref(&self) -> Option<&TypedFunction<(i32, i32), i32>>
pub fn dyn_call_jii_ref(&self) -> Option<&TypedFunction<(i32, i32, i32), i32>>
pub fn dyn_call_jij_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32), i32>>
pub fn dyn_call_jjj_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32, i32), i32>>
pub fn dyn_call_viiij_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32, i32, i32), ()>>
pub fn dyn_call_viiijiiii_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), ()>>
pub fn dyn_call_viiijiiiiii_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32), ()>>
pub fn dyn_call_viij_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32, i32), ()>>
pub fn dyn_call_viiji_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32, i32, i32), ()>>
pub fn dyn_call_viijiii_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32, i32, i32, i32, i32), ()>>
pub fn dyn_call_viijj_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32, i32, i32, i32), ()>>
pub fn dyn_call_vj_ref(&self) -> Option<&TypedFunction<(i32, i32, i32), ()>>
pub fn dyn_call_vjji_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32, i32, i32), ()>>
pub fn dyn_call_vij_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32), ()>>
pub fn dyn_call_viji_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32, i32), ()>>
pub fn dyn_call_vijiii_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32, i32, i32, i32), ()>>
pub fn dyn_call_vijj_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, i32, i32, i32), ()>>
pub fn dyn_call_viid_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, f64), ()>>
pub fn dyn_call_vidd_ref( &self, ) -> Option<&TypedFunction<(i32, i32, f64, f64), ()>>
pub fn dyn_call_viidii_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, f64, i32, i32), ()>>
pub fn dyn_call_viidddddddd_ref( &self, ) -> Option<&TypedFunction<(i32, i32, i32, f64, f64, f64, f64, f64, f64, f64, f64), ()>>
pub fn stack_save_ref(&self) -> Option<&TypedFunction<(), i32>>
pub fn stack_restore_ref(&self) -> Option<&TypedFunction<i32, ()>>
pub fn set_threw_ref(&self) -> Option<&TypedFunction<(i32, i32), ()>>
Trait Implementations§
source§impl Clone for EmscriptenFunctions
impl Clone for EmscriptenFunctions
source§fn clone(&self) -> EmscriptenFunctions
fn clone(&self) -> EmscriptenFunctions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for EmscriptenFunctions
impl Default for EmscriptenFunctions
source§fn default() -> EmscriptenFunctions
fn default() -> EmscriptenFunctions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EmscriptenFunctions
impl RefUnwindSafe for EmscriptenFunctions
impl Send for EmscriptenFunctions
impl Sync for EmscriptenFunctions
impl Unpin for EmscriptenFunctions
impl UnwindSafe for EmscriptenFunctions
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.
source§impl<T> Upcastable for T
impl<T> Upcastable for T
source§fn upcast_any_ref(&self) -> &(dyn Any + 'static)
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
upcast ref
source§fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
upcast mut ref