Enum tree_sitter_graph::ast::Variable
source · [−]pub enum Variable {
Scoped(ScopedVariable),
Unscoped(UnscopedVariable),
}Expand description
A reference to a variable
Variants
Scoped(ScopedVariable)
Unscoped(UnscopedVariable)
Trait Implementations
sourceimpl From<ScopedVariable> for Variable
impl From<ScopedVariable> for Variable
sourcefn from(variable: ScopedVariable) -> Variable
fn from(variable: ScopedVariable) -> Variable
Converts to this type from the input type.
sourceimpl From<UnscopedVariable> for Variable
impl From<UnscopedVariable> for Variable
sourcefn from(variable: UnscopedVariable) -> Variable
fn from(variable: UnscopedVariable) -> Variable
Converts to this type from the input type.
impl Eq for Variable
impl StructuralEq for Variable
impl StructuralPartialEq for Variable
Auto Trait Implementations
impl RefUnwindSafe for Variable
impl !Send for Variable
impl !Sync for Variable
impl Unpin for Variable
impl UnwindSafe for Variable
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more