Enum iced_x86::OpCodeTableKind
source · #[non_exhaustive]pub enum OpCodeTableKind {
Normal = 0,
T0F = 1,
T0F38 = 2,
T0F3A = 3,
MAP5 = 4,
MAP6 = 5,
MAP8 = 6,
MAP9 = 7,
MAP10 = 8,
}
Expand description
Opcode table
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Normal = 0
Legacy/MAP0
table
T0F = 1
0F
/MAP1
table (legacy, VEX, EVEX, MVEX)
T0F38 = 2
0F38
/MAP2
table (legacy, VEX, EVEX, MVEX)
T0F3A = 3
0F3A
/MAP3
table (legacy, VEX, EVEX, MVEX)
MAP5 = 4
MAP5
table (EVEX)
MAP6 = 5
MAP6
table (EVEX)
MAP8 = 6
MAP8
table (XOP)
MAP9 = 7
MAP9
table (XOP)
MAP10 = 8
MAP10
table (XOP)
Implementations§
source§impl OpCodeTableKind
impl OpCodeTableKind
sourcepub fn values(
) -> impl Iterator<Item = OpCodeTableKind> + DoubleEndedIterator + ExactSizeIterator + FusedIterator
pub fn values( ) -> impl Iterator<Item = OpCodeTableKind> + DoubleEndedIterator + ExactSizeIterator + FusedIterator
Iterates over all OpCodeTableKind
enum values
Trait Implementations§
source§impl Clone for OpCodeTableKind
impl Clone for OpCodeTableKind
source§fn clone(&self) -> OpCodeTableKind
fn clone(&self) -> OpCodeTableKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OpCodeTableKind
impl Debug for OpCodeTableKind
source§impl Default for OpCodeTableKind
impl Default for OpCodeTableKind
source§impl<'de> Deserialize<'de> for OpCodeTableKind
impl<'de> Deserialize<'de> for OpCodeTableKind
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for OpCodeTableKind
impl Hash for OpCodeTableKind
source§impl Ord for OpCodeTableKind
impl Ord for OpCodeTableKind
source§fn cmp(&self, other: &OpCodeTableKind) -> Ordering
fn cmp(&self, other: &OpCodeTableKind) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for OpCodeTableKind
impl PartialEq for OpCodeTableKind
source§fn eq(&self, other: &OpCodeTableKind) -> bool
fn eq(&self, other: &OpCodeTableKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for OpCodeTableKind
impl PartialOrd for OpCodeTableKind
source§fn partial_cmp(&self, other: &OpCodeTableKind) -> Option<Ordering>
fn partial_cmp(&self, other: &OpCodeTableKind) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for OpCodeTableKind
impl Serialize for OpCodeTableKind
source§impl TryFrom<usize> for OpCodeTableKind
impl TryFrom<usize> for OpCodeTableKind
impl Copy for OpCodeTableKind
impl Eq for OpCodeTableKind
impl StructuralEq for OpCodeTableKind
impl StructuralPartialEq for OpCodeTableKind
Auto Trait Implementations§
impl RefUnwindSafe for OpCodeTableKind
impl Send for OpCodeTableKind
impl Sync for OpCodeTableKind
impl Unpin for OpCodeTableKind
impl UnwindSafe for OpCodeTableKind
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