pub struct DefaultSpecializedFormatterTraitOptions;
Expand description

Default SpecializedFormatter<TraitOptions> options. It doesn’t override any const or fn

Trait Implementations§

source§

impl SpecializedFormatterTraitOptions for DefaultSpecializedFormatterTraitOptions

source§

const ENABLE_SYMBOL_RESOLVER: bool = false

Enables support for a symbol resolver. This is disabled by default. If this is disabled, you must not pass in a symbol resolver to the constructor. Read more
source§

const ENABLE_DB_DW_DD_DQ: bool = false

Enables support for formatting db, dw, dd, dq. Read more
source§

unsafe fn verify_output_has_enough_bytes_left() -> bool

The formatter makes sure that the output string has at least 300 bytes left at the start of format() and also after appending symbols to output. This is enough space for all formatted instructions. Read more
source§

fn space_after_operand_separator(_options: &FastFormatterOptions) -> bool

Add a space after the operand separator Read more
source§

fn rip_relative_addresses(_options: &FastFormatterOptions) -> bool

Show RIP+displ or the virtual address Read more
source§

fn use_pseudo_ops(_options: &FastFormatterOptions) -> bool

Use pseudo instructions Read more
source§

fn show_symbol_address(_options: &FastFormatterOptions) -> bool

Show the original value after the symbol name Read more
source§

fn always_show_segment_register(_options: &FastFormatterOptions) -> bool

Always show the effective segment register. If the option is false, only show the segment register if there’s a segment override prefix. Read more
source§

fn always_show_memory_size(_options: &FastFormatterOptions) -> bool

Always show the size of memory operands Read more
source§

fn uppercase_hex(_options: &FastFormatterOptions) -> bool

Use uppercase hex digits Read more
source§

fn use_hex_prefix(_options: &FastFormatterOptions) -> bool

Use a hex prefix (0x) or a hex suffix (h) Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.