Struct wasmer_engine::ExportFunction [−][src]
pub struct ExportFunction {
pub vm_function: VMFunction,
pub metadata: Option<Arc<ExportFunctionMetadata>>,
}Expand description
A function export value with an extra function pointer to initialize host environments.
Fields
vm_function: VMFunctionThe VM function, containing most of the data.
metadata: Option<Arc<ExportFunctionMetadata>>Contains functions necessary to create and initialize host envs
with each Instance as well as being responsible for the
underlying memory of the host env.
Trait Implementations
impl Clone for ExportFunction[src]
impl Clone for ExportFunction[src]fn clone(&self) -> ExportFunction[src]
fn clone(&self) -> ExportFunction[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for ExportFunction[src]
impl Debug for ExportFunction[src]impl From<ExportFunction> for Export[src]
impl From<ExportFunction> for Export[src]fn from(func: ExportFunction) -> Self[src]
fn from(func: ExportFunction) -> Self[src]Performs the conversion.
impl MemoryUsage for ExportFunction[src]
impl MemoryUsage for ExportFunction[src]fn size_of_val(&self, visited: &mut dyn MemoryUsageTracker) -> usize[src]
fn size_of_val(&self, visited: &mut dyn MemoryUsageTracker) -> usize[src]Returns the size of the referenced value in bytes. Read more
impl PartialEq<ExportFunction> for ExportFunction[src]
impl PartialEq<ExportFunction> for ExportFunction[src]fn eq(&self, other: &ExportFunction) -> bool[src]
fn eq(&self, other: &ExportFunction) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &ExportFunction) -> bool[src]
fn ne(&self, other: &ExportFunction) -> bool[src]This method tests for !=.
impl StructuralPartialEq for ExportFunction[src]
Auto Trait Implementations
impl !RefUnwindSafe for ExportFunction
impl Send for ExportFunction
impl Sync for ExportFunction
impl Unpin for ExportFunction
impl !UnwindSafe for ExportFunction
Blanket Implementations
impl<T> ArchivePointee for T
impl<T> ArchivePointee for Ttype ArchivedMetadata = ()
type ArchivedMetadata = ()The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::MetadataConverts some archived metadata to the pointer metadata for itself.
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more