Enum rspirv::grammar::OperandQuantifier [−][src]
pub enum OperandQuantifier { One, ZeroOrOne, ZeroOrMore, }
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
impl Clone for OperandQuantifier
[src]
impl Clone for OperandQuantifier
fn clone(&self) -> OperandQuantifier
[src]
fn clone(&self) -> OperandQuantifier
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for OperandQuantifier
[src]
impl Copy for OperandQuantifier
impl Debug for OperandQuantifier
[src]
impl Debug for OperandQuantifier
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for OperandQuantifier
[src]
impl PartialEq for OperandQuantifier
fn eq(&self, other: &OperandQuantifier) -> bool
[src]
fn eq(&self, other: &OperandQuantifier) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for OperandQuantifier
[src]
impl Eq for OperandQuantifier
impl Hash for OperandQuantifier
[src]
impl Hash for OperandQuantifier
Auto Trait Implementations
impl Send for OperandQuantifier
impl Send for OperandQuantifier
impl Sync for OperandQuantifier
impl Sync for OperandQuantifier