Enum rspirv::grammar::OperandQuantifier
source · pub enum OperandQuantifier {
One,
ZeroOrOne,
ZeroOrMore,
}
Expand description
The repeat specification for a SPIR-V logical operand.
Variants§
One
This operand appears exactly one time.
ZeroOrOne
This operand can appear zero or one time.
ZeroOrMore
This operand can appear zero or more times.
Trait Implementations§
source§impl Clone for OperandQuantifier
impl Clone for OperandQuantifier
source§fn clone(&self) -> OperandQuantifier
fn clone(&self) -> OperandQuantifier
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 OperandQuantifier
impl Debug for OperandQuantifier
source§impl Hash for OperandQuantifier
impl Hash for OperandQuantifier
source§impl PartialEq<OperandQuantifier> for OperandQuantifier
impl PartialEq<OperandQuantifier> for OperandQuantifier
source§fn eq(&self, other: &OperandQuantifier) -> bool
fn eq(&self, other: &OperandQuantifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for OperandQuantifier
impl Eq for OperandQuantifier
impl StructuralEq for OperandQuantifier
impl StructuralPartialEq for OperandQuantifier
Auto Trait Implementations§
impl RefUnwindSafe for OperandQuantifier
impl Send for OperandQuantifier
impl Sync for OperandQuantifier
impl Unpin for OperandQuantifier
impl UnwindSafe for OperandQuantifier
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