Struct tree_sitter_graph::ast::Global
source · pub struct Global {
pub name: Identifier,
pub quantifier: CaptureQuantifier,
pub default: Option<String>,
pub location: Location,
}
Expand description
A global variable
Fields§
§name: Identifier
The name of the global variable
quantifier: CaptureQuantifier
The quantifier of the global variable
default: Option<String>
Default value
location: Location
Trait Implementations§
source§impl PartialEq for Global
impl PartialEq for Global
impl Eq for Global
impl StructuralPartialEq for Global
Auto Trait Implementations§
impl Freeze for Global
impl RefUnwindSafe for Global
impl Send for Global
impl Sync for Global
impl Unpin for Global
impl UnwindSafe for Global
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