[−][src]Struct rustc_mir::dataflow::framework::graphviz::BlockFormatter

pub(in dataflow::framework::graphviz) struct BlockFormatter<'a, 'tcx, A> where
    A: Analysis<'tcx>, 
{ results: ResultsRefCursor<'a, 'a, 'tcx, A>, bg: Background, style: OutputStyle, }

Fields

results: ResultsRefCursor<'a, 'a, 'tcx, A>bg: Backgroundstyle: OutputStyle

Implementations

impl<A, 'tcx, 'a> BlockFormatter<'a, 'tcx, A> where
    A: Analysis<'tcx>,
    A::Domain: DebugWithContext<A>, 
[src]

pub(in dataflow::framework::graphviz) const HEADER_COLOR: &'static str[src]

pub(in dataflow::framework::graphviz) fn toggle_background(
    &mut self
) -> Background
[src]

pub(in dataflow::framework::graphviz) fn write_node_label(
    &mut self,
    w: &mut impl Write,
    body: &'a Body<'tcx>,
    block: BasicBlock
) -> Result<()>
[src]

pub(in dataflow::framework::graphviz) fn write_block_header_simple(
    &mut self,
    w: &mut impl Write,
    block: BasicBlock
) -> Result<()>
[src]

pub(in dataflow::framework::graphviz) fn write_block_header_with_state_columns(
    &mut self,
    w: &mut impl Write,
    block: BasicBlock,
    state_column_names: &[&str]
) -> Result<()>
[src]

pub(in dataflow::framework::graphviz) fn write_statements_and_terminator(
    &mut self,
    w: &mut impl Write,
    body: &'a Body<'tcx>,
    block: BasicBlock
) -> Result<()>
[src]

pub(in dataflow::framework::graphviz) fn write_row<W: Write>(
    &mut self,
    w: &mut W,
    i: &str,
    mir: &str,
    f: impl FnOnce(&mut Self, &mut W, &str) -> Result<()>
) -> Result<()>
[src]

Write a row with the given index and MIR, using the function argument to fill in the "STATE" column(s).

pub(in dataflow::framework::graphviz) fn write_row_with_full_state(
    &mut self,
    w: &mut impl Write,
    i: &str,
    mir: &str
) -> Result<()>
[src]

Auto Trait Implementations

impl<'a, 'tcx, A> !RefUnwindSafe for BlockFormatter<'a, 'tcx, A>

impl<'a, 'tcx, A> !Send for BlockFormatter<'a, 'tcx, A>

impl<'a, 'tcx, A> !Sync for BlockFormatter<'a, 'tcx, A>

impl<'a, 'tcx, A> Unpin for BlockFormatter<'a, 'tcx, A> where
    <A as AnalysisDomain<'tcx>>::Domain: Unpin,
    'tcx: 'a, 

impl<'a, 'tcx, A> !UnwindSafe for BlockFormatter<'a, 'tcx, A>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithConstness for T[src]