Enum move_binary_format::IndexKind
source · pub enum IndexKind {
Show 19 variants
ModuleHandle,
StructHandle,
FunctionHandle,
FieldHandle,
FriendDeclaration,
FunctionInstantiation,
FieldInstantiation,
StructDefinition,
StructDefInstantiation,
FunctionDefinition,
FieldDefinition,
Signature,
Identifier,
AddressIdentifier,
ConstantPool,
LocalPool,
CodeDefinition,
TypeParameter,
MemberCount,
}
Expand description
Represents a kind of index – useful for error messages.
Variants§
ModuleHandle
StructHandle
FunctionHandle
FieldHandle
FriendDeclaration
FunctionInstantiation
FieldInstantiation
StructDefinition
StructDefInstantiation
FunctionDefinition
FieldDefinition
Signature
Identifier
AddressIdentifier
ConstantPool
LocalPool
CodeDefinition
TypeParameter
MemberCount
Implementations§
Trait Implementations§
source§impl Ord for IndexKind
impl Ord for IndexKind
source§impl PartialEq<IndexKind> for IndexKind
impl PartialEq<IndexKind> for IndexKind
source§impl PartialOrd<IndexKind> for IndexKind
impl PartialOrd<IndexKind> for IndexKind
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more