Enum spirt::spv::spec::InstructionCategory
source · pub enum InstructionCategory {
Type,
Const,
ControlFlow,
Other,
}
Variants§
Trait Implementations§
source§impl Clone for InstructionCategory
impl Clone for InstructionCategory
source§fn clone(&self) -> InstructionCategory
fn clone(&self) -> InstructionCategory
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InstructionCategory
impl Debug for InstructionCategory
source§impl PartialEq<InstructionCategory> for InstructionCategory
impl PartialEq<InstructionCategory> for InstructionCategory
source§fn eq(&self, other: &InstructionCategory) -> bool
fn eq(&self, other: &InstructionCategory) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for InstructionCategory
impl Eq for InstructionCategory
impl StructuralEq for InstructionCategory
impl StructuralPartialEq for InstructionCategory
Auto Trait Implementations§
impl RefUnwindSafe for InstructionCategory
impl Send for InstructionCategory
impl Sync for InstructionCategory
impl Unpin for InstructionCategory
impl UnwindSafe for InstructionCategory
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.