pub trait ModuleIndex {
    const KIND: IndexKind;

    // Required method
    fn into_index(self) -> usize;
}
Expand description

Represents a module index.

Required Associated Constants§

Required Methods§

Implementors§

source§

impl ModuleIndex for AddressIdentifierIndex

source§

const KIND: IndexKind = IndexKind::AddressIdentifier

source§

impl ModuleIndex for ConstantPoolIndex

source§

const KIND: IndexKind = IndexKind::ConstantPool

source§

impl ModuleIndex for FieldHandleIndex

source§

const KIND: IndexKind = IndexKind::FieldHandle

source§

impl ModuleIndex for FieldInstantiationIndex

source§

const KIND: IndexKind = IndexKind::FieldInstantiation

source§

impl ModuleIndex for FunctionDefinitionIndex

source§

const KIND: IndexKind = IndexKind::FunctionDefinition

source§

impl ModuleIndex for FunctionHandleIndex

source§

const KIND: IndexKind = IndexKind::FunctionHandle

source§

impl ModuleIndex for FunctionInstantiationIndex

source§

const KIND: IndexKind = IndexKind::FunctionInstantiation

source§

impl ModuleIndex for IdentifierIndex

source§

const KIND: IndexKind = IndexKind::Identifier

source§

impl ModuleIndex for ModuleHandleIndex

source§

const KIND: IndexKind = IndexKind::ModuleHandle

source§

impl ModuleIndex for SignatureIndex

source§

const KIND: IndexKind = IndexKind::Signature

source§

impl ModuleIndex for StructDefInstantiationIndex

source§

const KIND: IndexKind = IndexKind::StructDefInstantiation

source§

impl ModuleIndex for StructDefinitionIndex

source§

const KIND: IndexKind = IndexKind::StructDefinition

source§

impl ModuleIndex for StructHandleIndex

source§

const KIND: IndexKind = IndexKind::StructHandle