Enum iced_x86::TupleType

source ·
#[non_exhaustive]
pub enum TupleType {
Show 19 variants N1, N2, N4, N8, N16, N32, N64, N8b4, N16b4, N32b4, N64b4, N16b8, N32b8, N64b8, N4b2, N8b2, N16b2, N32b2, N64b2,
}
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

N = 1

§

N2

N = 2

§

N4

N = 4

§

N8

N = 8

§

N16

N = 16

§

N32

N = 32

§

N64

N = 64

§

N8b4

N = b ? 4 : 8

§

N16b4

N = b ? 4 : 16

§

N32b4

N = b ? 4 : 32

§

N64b4

N = b ? 4 : 64

§

N16b8

N = b ? 8 : 16

§

N32b8

N = b ? 8 : 32

§

N64b8

N = b ? 8 : 64

§

N4b2

N = b ? 2 : 4

§

N8b2

N = b ? 2 : 8

§

N16b2

N = b ? 2 : 16

§

N32b2

N = b ? 2 : 32

§

N64b2

N = b ? 2 : 64

Implementations§

source§

impl TupleType

source

pub fn values( ) -> impl Iterator<Item = TupleType> + DoubleEndedIterator + ExactSizeIterator + FusedIterator

Iterates over all TupleType enum values

Trait Implementations§

source§

impl Clone for TupleType

source§

fn clone(&self) -> TupleType

Returns a copy of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TupleType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for TupleType

source§

fn default() -> Self

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

impl Hash for TupleType

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given [Hasher]. Read more
1.3.0§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given [Hasher]. Read more
source§

impl Ord for TupleType

source§

fn cmp(&self, other: &TupleType) -> Ordering

This method returns an [Ordering] between self and other. Read more
1.21.0§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0§

fn min(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<TupleType> for TupleType

source§

fn eq(&self, other: &TupleType) -> bool

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

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<TupleType> for TupleType

source§

fn partial_cmp(&self, other: &TupleType) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0§

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 more
1.0.0§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl TryFrom<usize> for TupleType

§

type Error = IcedError

The type returned in the event of a conversion error.
source§

fn try_from(value: usize) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl Copy for TupleType

source§

impl Eq for TupleType

source§

impl StructuralEq for TupleType

source§

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§

§

impl<T> Any for Twhere T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> From<T> for T

const: unstable§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.