Struct tree_sitter_graph::ast::Global
source · [−]pub struct Global {
pub name: Identifier,
pub quantifier: CaptureQuantifier,
pub location: Location,
}Expand description
A global variable
Fields
name: IdentifierThe name of the global variable
quantifier: CaptureQuantifierThe quantifier of the global variable
location: LocationTrait Implementations
impl Eq for Global
impl StructuralEq for Global
impl StructuralPartialEq for Global
Auto Trait Implementations
impl RefUnwindSafe for Global
impl !Send for Global
impl !Sync for Global
impl Unpin for Global
impl UnwindSafe for Global
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