Enum cranelift_wasm::EntityIndex[][src]

pub enum EntityIndex {
    Function(FuncIndex),
    Table(TableIndex),
    Memory(MemoryIndex),
    Global(GlobalIndex),
    Module(ModuleIndex),
    Instance(InstanceIndex),
}

An index of an entity.

Variants

Function(FuncIndex)

Function index.

Table(TableIndex)

Table index.

Memory(MemoryIndex)

Memory index.

Global(GlobalIndex)

Global index.

Module(ModuleIndex)

Module index.

Instance(InstanceIndex)

Instance index.

Trait Implementations

impl Clone for EntityIndex[src]

impl Copy for EntityIndex[src]

impl Debug for EntityIndex[src]

impl Eq for EntityIndex[src]

impl Hash for EntityIndex[src]

impl Ord for EntityIndex[src]

impl PartialEq<EntityIndex> for EntityIndex[src]

impl PartialOrd<EntityIndex> for EntityIndex[src]

impl StructuralEq for EntityIndex[src]

impl StructuralPartialEq for EntityIndex[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> 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.