Enum dot_parser::canonical::AttrStmt
source · [−]pub enum AttrStmt<A> {
Graph(A),
Node(A),
Edge(A),
}Expand description
An AttrStmt, i.e. a statement that applies to either the whole graph, all
edges, or all nodes. Note that, in a canonical graph, AttrStmts contain a
single statement.
Variants
Graph(A)
An AttrStmt that applies to the whole graph.
Node(A)
An AttrStmt that applies to all nodes of the graph.
Edge(A)
An AttrStmt that applies to all edges of the graph.
Trait Implementations
impl<A: Copy> Copy for AttrStmt<A>
Auto Trait Implementations
impl<A> RefUnwindSafe for AttrStmt<A>where
A: RefUnwindSafe,
impl<A> Send for AttrStmt<A>where
A: Send,
impl<A> Sync for AttrStmt<A>where
A: Sync,
impl<A> Unpin for AttrStmt<A>where
A: Unpin,
impl<A> UnwindSafe for AttrStmt<A>where
A: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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