pub struct Graph {
pub direction: Direction,
pub nodes: HashMap<NodeId, Node>,
pub edges: Vec<Edge>,
pub subgraphs: Vec<Subgraph>,
}Expand description
The complete graph structure
Fields§
§direction: Direction§nodes: HashMap<NodeId, Node>§edges: Vec<Edge>§subgraphs: Vec<Subgraph>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 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