[−][src]Struct rustc_mir::dataflow::framework::graphviz::Formatter
Fields
body: &'a Body<'tcx>results: &'a Results<'tcx, A>style: OutputStyleImplementations
impl<A, 'tcx, 'a> Formatter<'a, 'tcx, A> where
A: Analysis<'tcx>, [src]
A: Analysis<'tcx>,
pub fn new(
body: &'a Body<'tcx>,
results: &'a Results<'tcx, A>,
style: OutputStyle
) -> Self[src]
body: &'a Body<'tcx>,
results: &'a Results<'tcx, A>,
style: OutputStyle
) -> Self
Trait Implementations
impl<A, 'tcx, 'a> GraphWalk<'a> for Formatter<'a, 'tcx, A> where
A: Analysis<'tcx>, [src]
A: Analysis<'tcx>,
type Node = BasicBlock
type Edge = CfgEdge
pub fn nodes(&self) -> Nodes<'_, Self::Node>[src]
pub fn edges(&self) -> Edges<'_, Self::Edge>[src]
pub fn source(&self, edge: &Self::Edge) -> Self::Node[src]
pub fn target(&self, edge: &Self::Edge) -> Self::Node[src]
impl<A, 'tcx, '_, 'a> Labeller<'_> for Formatter<'a, 'tcx, A> where
A: Analysis<'tcx>,
A::Domain: DebugWithContext<A>, [src]
A: Analysis<'tcx>,
A::Domain: DebugWithContext<A>,
type Node = BasicBlock
type Edge = CfgEdge
pub fn graph_id(&self) -> Id<'_>[src]
pub fn node_id(&self, n: &Self::Node) -> Id<'_>[src]
pub fn node_label(&self, block: &Self::Node) -> LabelText<'_>[src]
pub fn node_shape(&self, _n: &Self::Node) -> Option<LabelText<'_>>[src]
pub fn edge_label(&self, e: &Self::Edge) -> LabelText<'_>[src]
pub fn node_style(&'a self, _n: &Self::Node) -> Style[src]
pub fn edge_style(&'a self, _e: &Self::Edge) -> Style[src]
Auto Trait Implementations
impl<'a, 'tcx, A> !RefUnwindSafe for Formatter<'a, 'tcx, A>
impl<'a, 'tcx, A> !Send for Formatter<'a, 'tcx, A>
impl<'a, 'tcx, A> !Sync for Formatter<'a, 'tcx, A>
impl<'a, 'tcx, A> Unpin for Formatter<'a, 'tcx, A> where
'tcx: 'a,
'tcx: 'a,
impl<'a, 'tcx, A> !UnwindSafe for Formatter<'a, 'tcx, A>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.