pub struct Subgraph {
pub id: String,
pub label: Option<String>,
pub nodes: Vec<GraphNode>,
pub edges: Vec<GraphEdge>,
pub attrs: Vec<(String, String)>,
}Expand description
A subgraph (cluster).
Fields§
§id: String§label: Option<String>§nodes: Vec<GraphNode>§edges: Vec<GraphEdge>§attrs: Vec<(String, String)>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Subgraph
impl RefUnwindSafe for Subgraph
impl Send for Subgraph
impl Sync for Subgraph
impl Unpin for Subgraph
impl UnsafeUnpin for Subgraph
impl UnwindSafe for Subgraph
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