pub enum NameKey {
Constant(Handle<Constant>),
GlobalVariable(Handle<GlobalVariable>),
Type(Handle<Type>),
StructMember(Handle<Type>, u32),
Function(Handle<Function>),
FunctionArgument(Handle<Function>, u32),
FunctionLocal(Handle<Function>, Handle<LocalVariable>),
EntryPoint(EntryPointIndex),
EntryPointLocal(EntryPointIndex, Handle<LocalVariable>),
EntryPointArgument(EntryPointIndex, u32),
}
Variants§
Constant(Handle<Constant>)
GlobalVariable(Handle<GlobalVariable>)
Type(Handle<Type>)
StructMember(Handle<Type>, u32)
Function(Handle<Function>)
FunctionArgument(Handle<Function>, u32)
FunctionLocal(Handle<Function>, Handle<LocalVariable>)
EntryPoint(EntryPointIndex)
EntryPointLocal(EntryPointIndex, Handle<LocalVariable>)
EntryPointArgument(EntryPointIndex, u32)
Trait Implementations§
source§impl PartialEq for NameKey
impl PartialEq for NameKey
impl Eq for NameKey
impl StructuralEq for NameKey
impl StructuralPartialEq for NameKey
Auto Trait Implementations§
impl RefUnwindSafe for NameKey
impl Send for NameKey
impl Sync for NameKey
impl Unpin for NameKey
impl UnwindSafe for NameKey
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.