pub struct Graph {
pub name: String,
pub rankdir: RankDir,
pub nodes: Vec<GraphNode>,
pub edges: Vec<GraphEdge>,
pub subgraphs: Vec<Subgraph>,
pub node_defaults: Vec<(String, String)>,
pub edge_defaults: Vec<(String, String)>,
pub graph_attrs: Vec<(String, String)>,
}Expand description
A complete graph.
Fields§
§name: String§rankdir: RankDir§nodes: Vec<GraphNode>§edges: Vec<GraphEdge>§subgraphs: Vec<Subgraph>§node_defaults: Vec<(String, String)>§edge_defaults: Vec<(String, String)>§graph_attrs: Vec<(String, String)>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Graph
impl RefUnwindSafe for Graph
impl Send for Graph
impl Sync for Graph
impl Unpin for Graph
impl UnsafeUnpin for Graph
impl UnwindSafe for Graph
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