pub enum ImportDescription {
    Function(TypeIndex),
    Table(TableType),
    Memory(MemoryType),
    Global(GlobalType),
}Expand description
Each import is specified by a descriptor with a respective type that a definition provided during instantiation is required to match.
Variants§
Trait Implementations§
Source§impl Clone for ImportDescription
 
impl Clone for ImportDescription
Source§fn clone(&self) -> ImportDescription
 
fn clone(&self) -> ImportDescription
Returns a duplicate 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 Debug for ImportDescription
 
impl Debug for ImportDescription
Source§impl PartialEq for ImportDescription
 
impl PartialEq for ImportDescription
impl Copy for ImportDescription
impl Eq for ImportDescription
impl StructuralPartialEq for ImportDescription
Auto Trait Implementations§
impl Freeze for ImportDescription
impl RefUnwindSafe for ImportDescription
impl Send for ImportDescription
impl Sync for ImportDescription
impl Unpin for ImportDescription
impl UnwindSafe for ImportDescription
Blanket Implementations§
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