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: bool
Print to stdout.
color: bool
Add color codes to output
indent: bool
Indent assembly
show_byte_offset: bool
§no_header: bool
Do not output the module header as leading comments in the assembly.
use_friendly_names: bool
Use 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: bool
Add 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