Struct spirv_tools::assembler::DisassembleOptions[][src]

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: boolno_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

impl Clone for DisassembleOptions[src]

impl Copy for DisassembleOptions[src]

impl Default for DisassembleOptions[src]

impl Into<u32> for DisassembleOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.