pub enum GeneralOperand {
Vec {
operand: VectorOperand,
span: Range<usize>,
},
Single {
operand: Operand,
span: Range<usize>,
},
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for GeneralOperand
impl Clone for GeneralOperand
Source§fn clone(&self) -> GeneralOperand
fn clone(&self) -> GeneralOperand
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 GeneralOperand
impl Debug for GeneralOperand
Source§impl PartialEq for GeneralOperand
impl PartialEq for GeneralOperand
Source§impl PtxParser for GeneralOperand
impl PtxParser for GeneralOperand
Source§fn parse(stream: &mut PtxTokenStream<'_>) -> Result<Self, PtxParseError>
fn parse(stream: &mut PtxTokenStream<'_>) -> Result<Self, PtxParseError>
Parse an instance of
Self from the token stream.Source§impl PtxUnparser for GeneralOperand
impl PtxUnparser for GeneralOperand
impl Eq for GeneralOperand
impl StructuralPartialEq for GeneralOperand
Auto Trait Implementations§
impl Freeze for GeneralOperand
impl RefUnwindSafe for GeneralOperand
impl Send for GeneralOperand
impl Sync for GeneralOperand
impl Unpin for GeneralOperand
impl UnwindSafe for GeneralOperand
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