[][src]Struct cranelift_codegen::cfg_printer::CFGPrinter

pub struct CFGPrinter<'a> { /* fields omitted */ }

A utility for pretty-printing the CFG of a Function.

Methods

impl<'a> CFGPrinter<'a>[src]

A utility for pretty-printing the CFG of a Function.

pub fn new(func: &'a Function) -> Self[src]

Create a new CFGPrinter.

pub fn write(&self, w: &mut dyn Write) -> Result[src]

Write the CFG for this function to w.

Trait Implementations

impl<'a> Display for CFGPrinter<'a>[src]

Auto Trait Implementations

impl<'a> Unpin for CFGPrinter<'a>

impl<'a> Send for CFGPrinter<'a>

impl<'a> Sync for CFGPrinter<'a>

impl<'a> UnwindSafe for CFGPrinter<'a>

impl<'a> RefUnwindSafe for CFGPrinter<'a>

Blanket Implementations

impl<T> From<T> for 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> Into<U> for T where
    U: From<T>, 
[src]

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> ToString for T where
    T: Display + ?Sized
[src]