[][src]Trait regalloc::PrettyPrint

pub trait PrettyPrint {
    fn show_rru(&self, maybe_reg_universe: Option<&RealRegUniverse>) -> String;
}

A trait for printing instruction bits and pieces, with the the ability to take a contextualising RealRegUniverse that is used to give proper names to registers.

Required methods

fn show_rru(&self, maybe_reg_universe: Option<&RealRegUniverse>) -> String

Return a string that shows the implementing object in context of the given RealRegUniverse, if provided.

Loading content...

Implementors

impl PrettyPrint for Reg[src]

impl<R: PrettyPrint + WritableBase> PrettyPrint for Writable<R>[src]

Loading content...