[][src]Trait wasmer_runtime_core_asml_fork::structures::TypedIndex

pub trait TypedIndex: Copy + Clone { }

A trait for dealing with type-safe indices into associative data structures like Maps.

Through the use of this trait, we get compile time checks that we are not using the wrong type of index into our data structures.

It acts as a thin wrapper over usize and in most usage patterns has no runtime overhead.

Implementors

impl TypedIndex for NameIndex[src]

impl TypedIndex for NamespaceIndex[src]

impl TypedIndex for FuncIndex[src]

impl TypedIndex for GlobalIndex[src]

impl TypedIndex for ImportedFuncIndex[src]

impl TypedIndex for ImportedGlobalIndex[src]

impl TypedIndex for ImportedMemoryIndex[src]

impl TypedIndex for ImportedTableIndex[src]

impl TypedIndex for LocalFuncIndex[src]

impl TypedIndex for LocalGlobalIndex[src]

impl TypedIndex for LocalMemoryIndex[src]

impl TypedIndex for LocalTableIndex[src]

impl TypedIndex for MemoryIndex[src]

impl TypedIndex for SigIndex[src]

impl TypedIndex for TableIndex[src]

Loading content...