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§
impl Eq for NameKey
impl StructuralPartialEq for NameKey
Auto Trait Implementations§
impl Freeze for NameKey
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§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.