Enum naga::proc::NameKey [−][src]
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
GlobalVariable(Handle<GlobalVariable>)
FunctionLocal(Handle<Function>, Handle<LocalVariable>)
EntryPoint(EntryPointIndex)
EntryPointLocal(EntryPointIndex, Handle<LocalVariable>)
EntryPointArgument(EntryPointIndex, u32)
Trait Implementations
impl Eq for NameKey
[src]
impl StructuralEq for NameKey
[src]
impl StructuralPartialEq for NameKey
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.