pub struct GraphVizCluster {
pub id: String,
pub style: GraphvizNodeStyle,
pub items: Vec<Box<GraphVizGraphItem>>,
pub edges: Vec<GraphVizEdge>,
}Fields§
§id: String§style: GraphvizNodeStyle§items: Vec<Box<GraphVizGraphItem>>§edges: Vec<GraphVizEdge>Implementations§
Source§impl GraphVizCluster
impl GraphVizCluster
pub fn new( id: String, style: GraphvizNodeStyle, items: Vec<Box<GraphVizGraphItem>>, edges: Vec<GraphVizEdge>, ) -> GraphVizCluster
Trait Implementations§
Source§impl Clone for GraphVizCluster
impl Clone for GraphVizCluster
Source§fn clone(&self) -> GraphVizCluster
fn clone(&self) -> GraphVizCluster
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl DotBuildable for GraphVizCluster
impl DotBuildable for GraphVizCluster
fn add_item(&mut self, item: GraphVizGraphItem)
fn add_edge(&mut self, edge: GraphVizEdge)
fn add_node(&mut self, node: GraphVizNode)
fn add_cluster(&mut self, cluster: GraphVizCluster)
Source§impl DotTranslatable for GraphVizCluster
impl DotTranslatable for GraphVizCluster
fn to_dot_string(&self) -> String
Source§impl PartialEq for GraphVizCluster
impl PartialEq for GraphVizCluster
Source§impl RenameableWithPrefix for GraphVizCluster
impl RenameableWithPrefix for GraphVizCluster
fn rename_with_prefix(&self, prefix: &str) -> Self
impl Eq for GraphVizCluster
impl StructuralPartialEq for GraphVizCluster
Auto Trait Implementations§
impl Freeze for GraphVizCluster
impl RefUnwindSafe for GraphVizCluster
impl Send for GraphVizCluster
impl Sync for GraphVizCluster
impl Unpin for GraphVizCluster
impl UnwindSafe for GraphVizCluster
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