PrettyPrint

Trait PrettyPrint 

Source
pub trait PrettyPrint {
    // Required method
    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§

Source

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.

Implementors§