Enum tree_sitter_graph::ast::Statement  
source · [−]pub enum Statement {
    DeclareImmutable(DeclareImmutable),
    DeclareMutable(DeclareMutable),
    Assign(Assign),
    CreateGraphNode(CreateGraphNode),
    AddGraphNodeAttribute(AddGraphNodeAttribute),
    CreateEdge(CreateEdge),
    AddEdgeAttribute(AddEdgeAttribute),
    Scan(Scan),
    Print(Print),
    If(If),
    ForIn(ForIn),
}Expand description
A statement that can appear in a graph DSL stanza
Variants
DeclareImmutable(DeclareImmutable)
DeclareMutable(DeclareMutable)
Assign(Assign)
CreateGraphNode(CreateGraphNode)
AddGraphNodeAttribute(AddGraphNodeAttribute)
CreateEdge(CreateEdge)
AddEdgeAttribute(AddEdgeAttribute)
Scan(Scan)
Print(Print)
If(If)
ForIn(ForIn)
Trait Implementations
sourceimpl From<AddEdgeAttribute> for Statement
 
impl From<AddEdgeAttribute> for Statement
sourcefn from(statement: AddEdgeAttribute) -> Statement
 
fn from(statement: AddEdgeAttribute) -> Statement
Converts to this type from the input type.
sourceimpl From<AddGraphNodeAttribute> for Statement
 
impl From<AddGraphNodeAttribute> for Statement
sourcefn from(statement: AddGraphNodeAttribute) -> Statement
 
fn from(statement: AddGraphNodeAttribute) -> Statement
Converts to this type from the input type.
sourceimpl From<CreateEdge> for Statement
 
impl From<CreateEdge> for Statement
sourcefn from(statement: CreateEdge) -> Statement
 
fn from(statement: CreateEdge) -> Statement
Converts to this type from the input type.
sourceimpl From<CreateGraphNode> for Statement
 
impl From<CreateGraphNode> for Statement
sourcefn from(statement: CreateGraphNode) -> Statement
 
fn from(statement: CreateGraphNode) -> Statement
Converts to this type from the input type.
sourceimpl From<DeclareImmutable> for Statement
 
impl From<DeclareImmutable> for Statement
sourcefn from(statement: DeclareImmutable) -> Statement
 
fn from(statement: DeclareImmutable) -> Statement
Converts to this type from the input type.
sourceimpl From<DeclareMutable> for Statement
 
impl From<DeclareMutable> for Statement
sourcefn from(statement: DeclareMutable) -> Statement
 
fn from(statement: DeclareMutable) -> Statement
Converts to this type from the input type.
sourceimpl PartialEq<Statement> for Statement
 
impl PartialEq<Statement> for Statement
impl Eq for Statement
impl StructuralEq for Statement
impl StructuralPartialEq for Statement
Auto Trait Implementations
impl RefUnwindSafe for Statement
impl Send for Statement
impl Sync for Statement
impl Unpin for Statement
impl UnwindSafe for Statement
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