Struct rspirv::grammar::LogicalOperand
source · pub struct LogicalOperand {
pub kind: OperandKind,
pub quantifier: OperandQuantifier,
}
Expand description
Grammar for a SPIR-V logical operand.
Fields§
§kind: OperandKind
The kind of this logical operand.
quantifier: OperandQuantifier
The repeat specification for this logical operand.
Trait Implementations§
source§impl Clone for LogicalOperand
impl Clone for LogicalOperand
source§fn clone(&self) -> LogicalOperand
fn clone(&self) -> LogicalOperand
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 LogicalOperand
impl Debug for LogicalOperand
source§impl Hash for LogicalOperand
impl Hash for LogicalOperand
source§impl PartialEq<LogicalOperand> for LogicalOperand
impl PartialEq<LogicalOperand> for LogicalOperand
source§fn eq(&self, other: &LogicalOperand) -> bool
fn eq(&self, other: &LogicalOperand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for LogicalOperand
impl StructuralEq for LogicalOperand
impl StructuralPartialEq for LogicalOperand
Auto Trait Implementations§
impl RefUnwindSafe for LogicalOperand
impl Send for LogicalOperand
impl Sync for LogicalOperand
impl Unpin for LogicalOperand
impl UnwindSafe for LogicalOperand
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