pub enum Stmt {
Node(Node),
Subgraph(Subgraph),
Attribute(Attribute),
GAttribute(GraphAttributes),
Edge(Edge),
}
Expand description
the component represents a wrapper to keep sustainability in subgraph and graph bodies.
Variants§
Trait Implementations§
Source§impl From<GraphAttributes> for Stmt
impl From<GraphAttributes> for Stmt
Source§fn from(v: GraphAttributes) -> Self
fn from(v: GraphAttributes) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Stmt
Auto Trait Implementations§
impl Freeze for Stmt
impl RefUnwindSafe for Stmt
impl Send for Stmt
impl Sync for Stmt
impl Unpin for Stmt
impl UnwindSafe for Stmt
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