#[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 duplicate 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
Available on crate features encoder and op_code_info only.
impl Debug for OpCodeTableKind
Available on crate features
encoder and op_code_info only.Source§impl Default for OpCodeTableKind
Available on crate features encoder and op_code_info only.
impl Default for OpCodeTableKind
Available on crate features
encoder and op_code_info only.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§impl PartialOrd for OpCodeTableKind
impl PartialOrd for OpCodeTableKind
Source§impl Serialize for OpCodeTableKind
impl Serialize for OpCodeTableKind
Source§impl TryFrom<usize> for OpCodeTableKind
Available on crate features encoder and op_code_info only.
impl TryFrom<usize> for OpCodeTableKind
Available on crate features
encoder and op_code_info only.impl Copy for OpCodeTableKind
impl Eq for OpCodeTableKind
impl StructuralPartialEq for OpCodeTableKind
Auto Trait Implementations§
impl Freeze for OpCodeTableKind
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