logo
pub struct BlockEncoderOptions;
Expand description

BlockEncoder options

Implementations

No option is set

By default, branches get updated if the target is too far away, eg. Jcc SHORT -> Jcc NEAR or if 64-bit mode, Jcc + JMP [RIP+mem]. If this option is enabled, no branches are fixed.

The BlockEncoder should return RelocInfos

The BlockEncoder should return new instruction offsets

The BlockEncoder should return ConstantOffsets

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.