pub struct DrawableGraph {
pub nodes: Vec<DrawableNode>,
pub edges: Vec<DrawableEdge>,
}Expand description
Drawable graph representation for export
Provides a structure optimized for visualization and export to external formats.
Fields§
§nodes: Vec<DrawableNode>Nodes in the graph
edges: Vec<DrawableEdge>Edges in the graph
Trait Implementations§
Source§impl Clone for DrawableGraph
impl Clone for DrawableGraph
Source§fn clone(&self) -> DrawableGraph
fn clone(&self) -> DrawableGraph
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DrawableGraph
impl RefUnwindSafe for DrawableGraph
impl Send for DrawableGraph
impl Sync for DrawableGraph
impl Unpin for DrawableGraph
impl UnsafeUnpin for DrawableGraph
impl UnwindSafe for DrawableGraph
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