[][src]Enum wasmer_types::ImportIndex

pub enum ImportIndex {
    Function(FunctionIndex),
    Table(TableIndex),
    Memory(MemoryIndex),
    Global(GlobalIndex),
}

An entity to import.

Variants

Function(FunctionIndex)

Function import.

Table(TableIndex)

Table import.

Memory(MemoryIndex)

Memory import.

Global(GlobalIndex)

Global import.

Trait Implementations

impl Clone for ImportIndex[src]

impl Debug for ImportIndex[src]

impl<'de> Deserialize<'de> for ImportIndex[src]

impl Eq for ImportIndex[src]

impl Hash for ImportIndex[src]

impl Ord for ImportIndex[src]

impl PartialEq<ImportIndex> for ImportIndex[src]

impl PartialOrd<ImportIndex> for ImportIndex[src]

impl Serialize for ImportIndex[src]

impl StructuralEq for ImportIndex[src]

impl StructuralPartialEq for ImportIndex[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.