[−][src]Struct iced_x86::FastFormatterOptions
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
Default | Value | Example |
---|---|---|
true | mov rax, rcx | |
✔️ | false | mov rax,rcx |
pub fn set_space_after_operand_separator(&mut self, value: bool)
[src]
Add a space after the operand separator
Default | Value | Example |
---|---|---|
true | mov rax, rcx | |
✔️ | false | mov rax,rcx |
Arguments
value
: New value
#[must_use]pub fn rip_relative_addresses(&self) -> bool
[src]
Show RIP+displ
or the virtual address
Default | Value | Example |
---|---|---|
true | mov eax,[rip+12345678h] | |
✔️ | false | mov eax,[1029384756AFBECDh] |
pub fn set_rip_relative_addresses(&mut self, value: bool)
[src]
Show RIP+displ
or the virtual address
Default | Value | Example |
---|---|---|
true | mov eax,[rip+12345678h] | |
✔️ | false | mov eax,[1029384756AFBECDh] |
Arguments
value
: New value
#[must_use]pub fn use_pseudo_ops(&self) -> bool
[src]
Use pseudo instructions
Default | Value | Example |
---|---|---|
✔️ | true | vcmpnltsd xmm2,xmm6,xmm3 |
false | vcmpsd xmm2,xmm6,xmm3,5 |
pub fn set_use_pseudo_ops(&mut self, value: bool)
[src]
Use pseudo instructions
Default | Value | Example |
---|---|---|
✔️ | true | vcmpnltsd xmm2,xmm6,xmm3 |
false | vcmpsd 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
Default | Value | Example |
---|---|---|
true | mov eax,[myfield (12345678)] | |
✔️ | false | mov eax,[myfield] |
pub fn set_show_symbol_address(&mut self, value: bool)
[src]
Show the original value after the symbol name
Default | Value | Example |
---|---|---|
true | mov eax,[myfield (12345678)] | |
✔️ | false | mov 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.
Default | Value | Example |
---|---|---|
true | mov eax,ds:[ecx] | |
✔️ | false | mov 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.
Default | Value | Example |
---|---|---|
true | mov eax,ds:[ecx] | |
✔️ | false | mov eax,[ecx] |
Arguments
value
: New value
#[must_use]pub fn always_show_memory_size(&self) -> bool
[src]
Always show the size of memory operands
Default | Value | Example | Example |
---|---|---|---|
true | mov eax,dword ptr [ebx] | add byte ptr [eax],0x12 | |
✔️ | false | mov 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
Default | Value | Example | Example |
---|---|---|---|
true | mov eax,dword ptr [ebx] | add byte ptr [eax],0x12 | |
✔️ | false | mov 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
Default | Value | Example |
---|---|---|
✔️ | true | 0xFF |
false | 0xff |
pub fn set_uppercase_hex(&mut self, value: bool)
[src]
#[must_use]pub fn use_hex_prefix(&self) -> bool
[src]
Use a hex prefix (0x
) or a hex suffix (h
)
Default | Value | Example |
---|---|---|
true | 0x5A | |
✔️ | false | 5Ah |
pub fn set_use_hex_prefix(&mut self, value: bool)
[src]
Use a hex prefix (0x
) or a hex suffix (h
)
Default | Value | Example |
---|---|---|
true | 0x5A | |
✔️ | false | 5Ah |
Arguments
value
: New value
Trait Implementations
impl Clone for FastFormatterOptions
[src]
pub fn clone(&self) -> FastFormatterOptions
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FastFormatterOptions
[src]
impl Eq for FastFormatterOptions
[src]
impl Hash for FastFormatterOptions
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<FastFormatterOptions> for FastFormatterOptions
[src]
pub fn eq(&self, other: &FastFormatterOptions) -> bool
[src]
pub fn ne(&self, other: &FastFormatterOptions) -> bool
[src]
impl StructuralEq for FastFormatterOptions
[src]
impl StructuralPartialEq for FastFormatterOptions
[src]
Auto Trait Implementations
impl RefUnwindSafe for FastFormatterOptions
impl Send for FastFormatterOptions
impl Sync for FastFormatterOptions
impl Unpin for FastFormatterOptions
impl UnwindSafe for FastFormatterOptions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,