Struct spirv_tools::assembler::DisassembleOptions
source · 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 copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
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 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