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§
source§impl Default for LegacyPrefixes
impl Default for LegacyPrefixes
source§impl PartialEq for LegacyPrefixes
impl PartialEq for LegacyPrefixes
impl StructuralPartialEq for LegacyPrefixes
Auto Trait Implementations§
impl Freeze for LegacyPrefixes
impl RefUnwindSafe for LegacyPrefixes
impl Send for LegacyPrefixes
impl Sync for LegacyPrefixes
impl Unpin for LegacyPrefixes
impl UnwindSafe for LegacyPrefixes
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more