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
sourceimpl Clone for DisassembleOptions
impl Clone for DisassembleOptions
sourcefn clone(&self) -> DisassembleOptions
fn clone(&self) -> DisassembleOptions
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for DisassembleOptions
impl Default for DisassembleOptions
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more