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