Trait regalloc::PrettyPrint
source · [−]pub trait PrettyPrint {
fn show_rru(&self, maybe_reg_universe: Option<&RealRegUniverse>) -> String;
}
Expand description
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
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.