#[non_exhaustive]pub enum TupleType {
Show 19 variants
N1 = 0,
N2 = 1,
N4 = 2,
N8 = 3,
N16 = 4,
N32 = 5,
N64 = 6,
N8b4 = 7,
N16b4 = 8,
N32b4 = 9,
N64b4 = 10,
N16b8 = 11,
N32b8 = 12,
N64b8 = 13,
N4b2 = 14,
N8b2 = 15,
N16b2 = 16,
N32b2 = 17,
N64b2 = 18,
}
Expand description
Tuple type (EVEX/MVEX) which can be used to get the disp8 scale factor N
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.
N1 = 0
N = 1
N2 = 1
N = 2
N4 = 2
N = 4
N8 = 3
N = 8
N16 = 4
N = 16
N32 = 5
N = 32
N64 = 6
N = 64
N8b4 = 7
N = b ? 4 : 8
N16b4 = 8
N = b ? 4 : 16
N32b4 = 9
N = b ? 4 : 32
N64b4 = 10
N = b ? 4 : 64
N16b8 = 11
N = b ? 8 : 16
N32b8 = 12
N = b ? 8 : 32
N64b8 = 13
N = b ? 8 : 64
N4b2 = 14
N = b ? 2 : 4
N8b2 = 15
N = b ? 2 : 8
N16b2 = 16
N = b ? 2 : 16
N32b2 = 17
N = b ? 2 : 32
N64b2 = 18
N = b ? 2 : 64
Implementations§
source§impl TupleType
impl TupleType
sourcepub fn values(
) -> impl Iterator<Item = TupleType> + DoubleEndedIterator + ExactSizeIterator + FusedIterator
pub fn values( ) -> impl Iterator<Item = TupleType> + DoubleEndedIterator + ExactSizeIterator + FusedIterator
Iterates over all TupleType
enum values
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
impl<'de> Deserialize<'de> for TupleType
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 Ord for TupleType
impl Ord for TupleType
source§impl PartialEq for TupleType
impl PartialEq for TupleType
source§impl PartialOrd for TupleType
impl PartialOrd for TupleType
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 moreimpl Copy for TupleType
impl Eq for TupleType
impl StructuralEq for TupleType
impl StructuralPartialEq for TupleType
Auto Trait Implementations§
impl RefUnwindSafe for TupleType
impl Send for TupleType
impl Sync for TupleType
impl Unpin for TupleType
impl UnwindSafe for TupleType
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