Struct paralegal_spdg::rustc::mir::generic_graphviz::GraphvizWriter
source · pub struct GraphvizWriter<'a, G, NodeContentFn, EdgeLabelsFn>where
G: DirectedGraph + WithSuccessors + WithStartNode + WithNumNodes,
NodeContentFn: Fn(<G as DirectedGraph>::Node) -> Vec<String, Global>,
EdgeLabelsFn: Fn(<G as DirectedGraph>::Node) -> Vec<String, Global>,{
graph: &'a G,
is_subgraph: bool,
graphviz_name: String,
graph_label: Option<String>,
node_content_fn: NodeContentFn,
edge_labels_fn: EdgeLabelsFn,
}
Fields§
§graph: &'a G
§is_subgraph: bool
§graphviz_name: String
§graph_label: Option<String>
§node_content_fn: NodeContentFn
§edge_labels_fn: EdgeLabelsFn
Auto Trait Implementations§
impl<'a, G, NodeContentFn, EdgeLabelsFn> RefUnwindSafe for GraphvizWriter<'a, G, NodeContentFn, EdgeLabelsFn>where EdgeLabelsFn: RefUnwindSafe, G: RefUnwindSafe, NodeContentFn: RefUnwindSafe,
impl<'a, G, NodeContentFn, EdgeLabelsFn> Send for GraphvizWriter<'a, G, NodeContentFn, EdgeLabelsFn>where EdgeLabelsFn: Send, G: Sync, NodeContentFn: Send,
impl<'a, G, NodeContentFn, EdgeLabelsFn> Sync for GraphvizWriter<'a, G, NodeContentFn, EdgeLabelsFn>where EdgeLabelsFn: Sync, G: Sync, NodeContentFn: Sync,
impl<'a, G, NodeContentFn, EdgeLabelsFn> Unpin for GraphvizWriter<'a, G, NodeContentFn, EdgeLabelsFn>where EdgeLabelsFn: Unpin, NodeContentFn: Unpin,
impl<'a, G, NodeContentFn, EdgeLabelsFn> UnwindSafe for GraphvizWriter<'a, G, NodeContentFn, EdgeLabelsFn>where EdgeLabelsFn: UnwindSafe, G: RefUnwindSafe, NodeContentFn: UnwindSafe,
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