pub struct DisassembleOptions {
pub print: bool,
pub color: bool,
pub indent: bool,
pub show_byte_offset: bool,
pub no_header: bool,
pub use_friendly_names: bool,
pub comment: bool,
}Fields§
§print: boolPrint to stdout.
color: boolAdd color codes to output
indent: boolIndent assembly
show_byte_offset: bool§no_header: boolDo not output the module header as leading comments in the assembly.
use_friendly_names: boolUse friendly names where possible. The heuristic may expand over
time, but will use common names for scalar types, and debug names from
OpName instructions.
comment: boolAdd some comments to the generated assembly
Trait Implementations§
Source§impl Clone for DisassembleOptions
impl Clone for DisassembleOptions
Source§fn clone(&self) -> DisassembleOptions
fn clone(&self) -> DisassembleOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for DisassembleOptions
impl Default for DisassembleOptions
Source§impl Into<u32> for DisassembleOptions
impl Into<u32> for DisassembleOptions
impl Copy for DisassembleOptions
Auto Trait Implementations§
impl Freeze for DisassembleOptions
impl RefUnwindSafe for DisassembleOptions
impl Send for DisassembleOptions
impl Sync for DisassembleOptions
impl Unpin for DisassembleOptions
impl UnwindSafe for DisassembleOptions
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