[][src]Struct iced_x86::FastFormatterOptions

pub struct FastFormatterOptions { /* fields omitted */ }

Fast formatter options

Implementations

impl FastFormatterOptions[src]

#[must_use]pub fn space_after_operand_separator(&self) -> bool[src]

Add a space after the operand separator

DefaultValueExample
 truemov rax, rcx
✔️falsemov rax,rcx

pub fn set_space_after_operand_separator(&mut self, value: bool)[src]

Add a space after the operand separator

DefaultValueExample
 truemov rax, rcx
✔️falsemov rax,rcx

Arguments

  • value: New value

#[must_use]pub fn rip_relative_addresses(&self) -> bool[src]

Show RIP+displ or the virtual address

DefaultValueExample
 truemov eax,[rip+12345678h]
✔️falsemov eax,[1029384756AFBECDh]

pub fn set_rip_relative_addresses(&mut self, value: bool)[src]

Show RIP+displ or the virtual address

DefaultValueExample
 truemov eax,[rip+12345678h]
✔️falsemov eax,[1029384756AFBECDh]

Arguments

  • value: New value

#[must_use]pub fn use_pseudo_ops(&self) -> bool[src]

Use pseudo instructions

DefaultValueExample
✔️truevcmpnltsd xmm2,xmm6,xmm3
 falsevcmpsd xmm2,xmm6,xmm3,5

pub fn set_use_pseudo_ops(&mut self, value: bool)[src]

Use pseudo instructions

DefaultValueExample
✔️truevcmpnltsd xmm2,xmm6,xmm3
 falsevcmpsd xmm2,xmm6,xmm3,5

Arguments

  • value: New value

#[must_use]pub fn show_symbol_address(&self) -> bool[src]

Show the original value after the symbol name

DefaultValueExample
 truemov eax,[myfield (12345678)]
✔️falsemov eax,[myfield]

pub fn set_show_symbol_address(&mut self, value: bool)[src]

Show the original value after the symbol name

DefaultValueExample
 truemov eax,[myfield (12345678)]
✔️falsemov eax,[myfield]

Arguments

  • value: New value

#[must_use]pub fn always_show_segment_register(&self) -> bool[src]

Always show the effective segment register. If the option is false, only show the segment register if there's a segment override prefix.

DefaultValueExample
 truemov eax,ds:[ecx]
✔️falsemov eax,[ecx]

pub fn set_always_show_segment_register(&mut self, value: bool)[src]

Always show the effective segment register. If the option is false, only show the segment register if there's a segment override prefix.

DefaultValueExample
 truemov eax,ds:[ecx]
✔️falsemov eax,[ecx]

Arguments

  • value: New value

#[must_use]pub fn always_show_memory_size(&self) -> bool[src]

Always show the size of memory operands

DefaultValueExampleExample
 truemov eax,dword ptr [ebx]add byte ptr [eax],0x12
✔️falsemov eax,[ebx]add byte ptr [eax],0x12

pub fn set_always_show_memory_size(&mut self, value: bool)[src]

Always show the size of memory operands

DefaultValueExampleExample
 truemov eax,dword ptr [ebx]add byte ptr [eax],0x12
✔️falsemov eax,[ebx]add byte ptr [eax],0x12

Arguments

  • value: New value

#[must_use]pub fn uppercase_hex(&self) -> bool[src]

Use upper case hex digits

DefaultValueExample
✔️true0xFF
 false0xff

pub fn set_uppercase_hex(&mut self, value: bool)[src]

Use upper case hex digits

DefaultValueExample
✔️true0xFF
 false0xff

Arguments

  • value: New value

#[must_use]pub fn use_hex_prefix(&self) -> bool[src]

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

DefaultValueExample
 true0x5A
✔️false5Ah

pub fn set_use_hex_prefix(&mut self, value: bool)[src]

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

DefaultValueExample
 true0x5A
✔️false5Ah

Arguments

  • value: New value

Trait Implementations

impl Clone for FastFormatterOptions[src]

impl Debug for FastFormatterOptions[src]

impl Eq for FastFormatterOptions[src]

impl Hash for FastFormatterOptions[src]

impl PartialEq<FastFormatterOptions> for FastFormatterOptions[src]

impl StructuralEq for FastFormatterOptions[src]

impl StructuralPartialEq for FastFormatterOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.