Struct cranelift_codegen::cfg_printer::CFGPrinter [−][src]
pub struct CFGPrinter<'a> { /* fields omitted */ }A utility for pretty-printing the CFG of a Function.
Methods
impl<'a> CFGPrinter<'a>[src]
impl<'a> CFGPrinter<'a>A utility for pretty-printing the CFG of a Function.
pub fn new(func: &'a Function) -> CFGPrinter<'a>[src]
pub fn new(func: &'a Function) -> CFGPrinter<'a>Create a new CFGPrinter.
pub fn write(&self, w: &mut Write) -> Result[src]
pub fn write(&self, w: &mut Write) -> ResultWrite the CFG for this function to w.
Trait Implementations
impl<'a> Display for CFGPrinter<'a>[src]
impl<'a> Display for CFGPrinter<'a>Auto Trait Implementations
impl<'a> Send for CFGPrinter<'a>
impl<'a> Send for CFGPrinter<'a>impl<'a> Sync for CFGPrinter<'a>
impl<'a> Sync for CFGPrinter<'a>