Struct tree_sitter_graph::ast::UnscopedVariable
source · pub struct UnscopedVariable {
pub name: Identifier,
pub location: Location,
}
Expand description
A reference to a global or local variable
Fields§
§name: Identifier
§location: Location
Trait Implementations§
source§impl Debug for UnscopedVariable
impl Debug for UnscopedVariable
source§impl Display for UnscopedVariable
impl Display for UnscopedVariable
source§impl From<UnscopedVariable> for Expression
impl From<UnscopedVariable> for Expression
source§fn from(variable: UnscopedVariable) -> Expression
fn from(variable: UnscopedVariable) -> Expression
Converts to this type from the input type.
source§impl From<UnscopedVariable> for Variable
impl From<UnscopedVariable> for Variable
source§fn from(variable: UnscopedVariable) -> Variable
fn from(variable: UnscopedVariable) -> Variable
Converts to this type from the input type.
source§impl PartialEq for UnscopedVariable
impl PartialEq for UnscopedVariable
source§fn eq(&self, other: &UnscopedVariable) -> bool
fn eq(&self, other: &UnscopedVariable) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for UnscopedVariable
impl StructuralPartialEq for UnscopedVariable
Auto Trait Implementations§
impl RefUnwindSafe for UnscopedVariable
impl Send for UnscopedVariable
impl Sync for UnscopedVariable
impl Unpin for UnscopedVariable
impl UnwindSafe for UnscopedVariable
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