pub struct VariableSymbol {
pub name: String,
pub span: Range<usize>,
}Expand description
Variable symbol
Fields§
§name: String§span: Range<usize>Implementations§
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(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 VariableSymbol
impl PtxUnparser 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