[−]Enum wasmer_runtime::Export
An Extern is the runtime representation of an entity that
can be imported or exported.
Spec: https://webassembly.github.io/spec/core/exec/runtime.html#external-values
Variants
A external [Function].
A external [Global].
A external [Table].
A external [Memory].
Implementations
impl Extern
pub fn ty(&self) -> ExternType
Return the undelying type of the inner Extern.
pub fn from_export(store: &Store, export: Export) -> Extern
Create an Extern from an Export.
Trait Implementations
impl Clone for Extern
fn clone(&self) -> Extern
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for Extern
impl<'a> Exportable<'a> for Extern
fn to_export(&self) -> Export
fn get_self_from_extern(_extern: &'a Extern) -> Result<&'a Extern, ExportError>
impl From<DynamicFunc> for Extern[src]
fn from(dynamic_func: DynamicFunc) -> Extern[src]
impl<Args, Rets> From<Func<Args, Rets>> for Extern where
Args: WasmTypeList,
Rets: WasmTypeList, [src]
Args: WasmTypeList,
Rets: WasmTypeList,
impl From<Function> for Extern
impl From<Global> for Extern
impl From<Memory> for Extern
impl From<Table> for Extern
impl StoreObject for Extern
fn comes_from_same_store(&self, store: &Store) -> bool
Auto Trait Implementations
impl !RefUnwindSafe for Extern
impl Send for Extern
impl Sync for Extern
impl Unpin for Extern
impl !UnwindSafe for Extern
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,