Enum wasmer_runtime_core_fl::types::LocalOrImport[][src]

pub enum LocalOrImport<T> where
    T: LocalImport
{ Local(T::Local), Import(T::Import), }
Expand description

Kind of local or import type.

Variants

Local

Local.

Tuple Fields of Local

0: T::Local
Import

Import.

Tuple Fields of Import

0: T::Import

Implementations

Returns Some if self is local, None if self is an import.

Returns Some if self is an import, None if self is local.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.