pub enum LegacyPrefixes {
    None,
    _66,
    _F0,
    _66F0,
    _F2,
    _F3,
    _66F3,
}
Expand description

We may need to include one or more legacy prefix bytes before the REX prefix. This enum covers only the small set of possibilities that we actually need.

Variants

None

No prefix bytes.

_66

Operand Size Override – here, denoting “16-bit operation”.

_F0

The Lock prefix.

_66F0

Operand size override and Lock.

_F2

REPNE, but no specific meaning here – is just an opcode extension.

_F3

REP/REPE, but no specific meaning here – is just an opcode extension.

_66F3

Operand size override and same effect as F3.

Trait Implementations

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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.