pub enum DisassembleOptions {
    None,
    Print,
    Color,
    Indent,
    ShowByteOffset,
    NoHeader,
    FriendlyNames,
    Comment,
}

Variants

None

Print

Print to stdout

Color

Add color codes to output

Indent

Indent assembly

ShowByteOffset

NoHeader

Do not output the module header as leading comments in the assembly.

FriendlyNames

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

Add some comments to the generated assembly

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.