Enum dot_structures::Stmt
source · 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.
source§impl PartialEq<Stmt> for Stmt
impl PartialEq<Stmt> for Stmt
impl StructuralPartialEq for Stmt
Auto Trait Implementations§
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