Struct cafebabe::ParseOptions

source ·
pub struct ParseOptions { /* private fields */ }

Implementations§

Turns on or off parsing of bytecode from the Code attributes of methods. If parsing is enabled, the CodeData structure’s optional bytecode field will be populated (or parsing will fail entirely if bytecode parsing failed). If parsing is disabled, the CodeData structure’s optional bytecode field will be set to None. Parsing is enabled by default, but can be disabled to speed up parsing in cases where the parsed bytecode is not needed.

Trait Implementations§

Formats the value using the given formatter. Read more

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.