[−][src]Struct rustc_mir::dataflow::framework::graphviz::Formatter
Fields
body: &'a Body<'tcx>def_id: DefIdblock_formatter: RefCell<BlockFormatter<'a, 'tcx, A>>Implementations
impl<A, 'tcx, 'a> Formatter<'a, 'tcx, A> where
A: Analysis<'tcx>, [src]
A: Analysis<'tcx>,
pub fn new(
body: &'a Body<'tcx>,
def_id: DefId,
results: &'a Results<'tcx, A>,
state_formatter: &'a mut dyn StateFormatter<'tcx, A>
) -> Self[src]
body: &'a Body<'tcx>,
def_id: DefId,
results: &'a Results<'tcx, A>,
state_formatter: &'a mut dyn StateFormatter<'tcx, A>
) -> 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
fn nodes(&self) -> Nodes<'_, Self::Node>[src]
fn edges(&self) -> Edges<'_, Self::Edge>[src]
fn source(&self, edge: &Self::Edge) -> Self::Node[src]
fn target(&self, edge: &Self::Edge) -> Self::Node[src]
impl<A, 'tcx, '_, 'a> Labeller<'_> for Formatter<'a, 'tcx, A> where
A: Analysis<'tcx>, [src]
A: Analysis<'tcx>,
type Node = BasicBlock
type Edge = CfgEdge
fn graph_id(&self) -> Id<'_>[src]
fn node_id(&self, n: &Self::Node) -> Id<'_>[src]
fn node_label(&self, block: &Self::Node) -> LabelText<'_>[src]
fn node_shape(&self, _n: &Self::Node) -> Option<LabelText<'_>>[src]
fn edge_label(&self, e: &Self::Edge) -> LabelText<'_>[src]
fn node_style(&'a self, _n: &Self::Node) -> Style[src]
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
<A as AnalysisDomain<'tcx>>::Idx: Unpin,
'tcx: 'a,
<A as AnalysisDomain<'tcx>>::Idx: Unpin,
'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,
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.
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.