Struct ropr::formatter::ColourFormatter
source · pub struct ColourFormatter { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Default for ColourFormatter
impl Default for ColourFormatter
source§fn default() -> ColourFormatter
fn default() -> ColourFormatter
Returns the “default value” for a type. Read more
source§impl Display for ColourFormatter
impl Display for ColourFormatter
source§impl FormatterOutput for ColourFormatter
impl FormatterOutput for ColourFormatter
source§fn write_prefix(
&mut self,
instruction: &Instruction,
text: &str,
prefix: PrefixKind
)
fn write_prefix( &mut self, instruction: &Instruction, text: &str, prefix: PrefixKind )
Writes a prefix Read more
source§fn write_mnemonic(&mut self, instruction: &Instruction, text: &str)
fn write_mnemonic(&mut self, instruction: &Instruction, text: &str)
Writes a mnemonic (see
Instruction::mnemonic()
) Read moresource§fn write_number(
&mut self,
instruction: &Instruction,
operand: u32,
instruction_operand: Option<u32>,
text: &str,
value: u64,
number_kind: NumberKind,
kind: FormatterTextKind
)
fn write_number( &mut self, instruction: &Instruction, operand: u32, instruction_operand: Option<u32>, text: &str, value: u64, number_kind: NumberKind, kind: FormatterTextKind )
Writes a number Read more
source§fn write_decorator(
&mut self,
instruction: &Instruction,
operand: u32,
instruction_operand: Option<u32>,
text: &str,
decorator: DecoratorKind
)
fn write_decorator( &mut self, instruction: &Instruction, operand: u32, instruction_operand: Option<u32>, text: &str, decorator: DecoratorKind )
Writes a decorator Read more
source§fn write_register(
&mut self,
instruction: &Instruction,
operand: u32,
instruction_operand: Option<u32>,
text: &str,
register: Register
)
fn write_register( &mut self, instruction: &Instruction, operand: u32, instruction_operand: Option<u32>, text: &str, register: Register )
Writes a register Read more
source§fn write_symbol(
&mut self,
instruction: &Instruction,
operand: u32,
instruction_operand: Option<u32>,
address: u64,
symbol: &SymbolResult<'_>
)
fn write_symbol( &mut self, instruction: &Instruction, operand: u32, instruction_operand: Option<u32>, address: u64, symbol: &SymbolResult<'_> )
Writes a symbol Read more
Auto Trait Implementations§
impl RefUnwindSafe for ColourFormatter
impl Send for ColourFormatter
impl Sync for ColourFormatter
impl Unpin for ColourFormatter
impl UnwindSafe for ColourFormatter
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more