pub enum VectorOperand {
Vector1 {
operand: Operand,
span: Span,
},
Vector2 {
operands: [Operand; 2],
span: Span,
},
Vector3 {
operands: [Operand; 3],
span: Span,
},
Vector4 {
operands: [Operand; 4],
span: Span,
},
Vector8 {
operands: [Operand; 8],
span: Span,
},
}Variants§
Vector1
{%r1}
Vector2
{%r1, %r2}
Vector3
{%r1, %r2, %r3}
Vector4
{%r1, %r2, %r3, %r4}
Vector8
{%r1, %r2, %r3, %r4, %r5, %r6, %r7, %r8}
Implementations§
Trait Implementations§
Source§impl Clone for VectorOperand
impl Clone for VectorOperand
Source§fn clone(&self) -> VectorOperand
fn clone(&self) -> VectorOperand
Returns a duplicate 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 VectorOperand
impl Debug for VectorOperand
Source§impl PartialEq for VectorOperand
impl PartialEq for VectorOperand
Source§impl PtxParser for VectorOperand
impl PtxParser for VectorOperand
Source§fn parse() -> impl Fn(&mut PtxTokenStream<'_>) -> Result<(Self, Span), PtxParseError>
fn parse() -> impl Fn(&mut PtxTokenStream<'_>) -> Result<(Self, Span), PtxParseError>
Returns a parser function that can parse an instance of
Self.Source§impl PtxUnparser for VectorOperand
impl PtxUnparser for VectorOperand
Source§impl Spanned for VectorOperand
impl Spanned for VectorOperand
impl Eq for VectorOperand
impl StructuralPartialEq for VectorOperand
Auto Trait Implementations§
impl Freeze for VectorOperand
impl RefUnwindSafe for VectorOperand
impl Send for VectorOperand
impl Sync for VectorOperand
impl Unpin for VectorOperand
impl UnwindSafe for VectorOperand
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