pub trait DotEncodable<GData, NData, EData>: VisitableGraph + Sized {
// Provided methods
fn dot_graph_attributes(&self) -> Option<GraphAttributes> { ... }
fn dot_node_attributes(&self, _node: &NodeID) -> Option<NodeAttributes> { ... }
fn dot_edge_attributes(&self, _edge: &EdgeID) -> Option<EdgeAttributes> { ... }
fn dot_is_compound(&self) -> bool { ... }
fn dot_children(&self, _node: Option<&NodeID>) -> Nodes { ... }
fn dot_is_group(&self, node: &NodeID) -> bool { ... }
fn dot_group_attributes(&self, _group: &NodeID) -> Option<GroupAttributes> { ... }
}Provided Methods§
fn dot_graph_attributes(&self) -> Option<GraphAttributes>
fn dot_node_attributes(&self, _node: &NodeID) -> Option<NodeAttributes>
fn dot_edge_attributes(&self, _edge: &EdgeID) -> Option<EdgeAttributes>
fn dot_is_compound(&self) -> bool
fn dot_children(&self, _node: Option<&NodeID>) -> Nodes
fn dot_is_group(&self, node: &NodeID) -> bool
fn dot_group_attributes(&self, _group: &NodeID) -> Option<GroupAttributes>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.