pub struct VariableSymbol {
pub val: String,
pub span: Span,
}Expand description
Variable symbol
Fields§
§val: String§span: SpanImplementations§
Trait Implementations§
Source§impl Clone for VariableSymbol
impl Clone for VariableSymbol
Source§fn clone(&self) -> VariableSymbol
fn clone(&self) -> VariableSymbol
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 VariableSymbol
impl Debug for VariableSymbol
Source§impl PartialEq for VariableSymbol
impl PartialEq for VariableSymbol
Source§impl PtxParser for VariableSymbol
impl PtxParser for VariableSymbol
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 VariableSymbol
impl PtxUnparser for VariableSymbol
Source§impl Spanned for VariableSymbol
impl Spanned for VariableSymbol
impl Eq for VariableSymbol
impl StructuralPartialEq for VariableSymbol
Auto Trait Implementations§
impl Freeze for VariableSymbol
impl RefUnwindSafe for VariableSymbol
impl Send for VariableSymbol
impl Sync for VariableSymbol
impl Unpin for VariableSymbol
impl UnwindSafe for VariableSymbol
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