Enum iced_x86::PrefixKind
source · #[non_exhaustive]pub enum PrefixKind {
Show 18 variants
ES = 0,
CS = 1,
SS = 2,
DS = 3,
FS = 4,
GS = 5,
Lock = 6,
Rep = 7,
Repe = 8,
Repne = 9,
OperandSize = 10,
AddressSize = 11,
HintNotTaken = 12,
HintTaken = 13,
Bnd = 14,
Notrack = 15,
Xacquire = 16,
Xrelease = 17,
}
Expand description
Prefix
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.
ES = 0
CS = 1
SS = 2
DS = 3
FS = 4
GS = 5
Lock = 6
Rep = 7
Repe = 8
Repne = 9
OperandSize = 10
AddressSize = 11
HintNotTaken = 12
HintTaken = 13
Bnd = 14
Notrack = 15
Xacquire = 16
Xrelease = 17
Implementations§
source§impl PrefixKind
impl PrefixKind
sourcepub fn values(
) -> impl Iterator<Item = PrefixKind> + DoubleEndedIterator + ExactSizeIterator + FusedIterator
pub fn values( ) -> impl Iterator<Item = PrefixKind> + DoubleEndedIterator + ExactSizeIterator + FusedIterator
Iterates over all PrefixKind
enum values
Trait Implementations§
source§impl Clone for PrefixKind
impl Clone for PrefixKind
source§fn clone(&self) -> PrefixKind
fn clone(&self) -> PrefixKind
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 PrefixKind
impl Debug for PrefixKind
source§impl Default for PrefixKind
impl Default for PrefixKind
source§impl<'de> Deserialize<'de> for PrefixKind
impl<'de> Deserialize<'de> for PrefixKind
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 PrefixKind
impl Hash for PrefixKind
source§impl Ord for PrefixKind
impl Ord for PrefixKind
source§fn cmp(&self, other: &PrefixKind) -> Ordering
fn cmp(&self, other: &PrefixKind) -> 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 PrefixKind
impl PartialEq for PrefixKind
source§fn eq(&self, other: &PrefixKind) -> bool
fn eq(&self, other: &PrefixKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PrefixKind
impl PartialOrd for PrefixKind
source§fn partial_cmp(&self, other: &PrefixKind) -> Option<Ordering>
fn partial_cmp(&self, other: &PrefixKind) -> 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 PrefixKind
impl Serialize for PrefixKind
source§impl TryFrom<usize> for PrefixKind
impl TryFrom<usize> for PrefixKind
impl Copy for PrefixKind
impl Eq for PrefixKind
impl StructuralEq for PrefixKind
impl StructuralPartialEq for PrefixKind
Auto Trait Implementations§
impl RefUnwindSafe for PrefixKind
impl Send for PrefixKind
impl Sync for PrefixKind
impl Unpin for PrefixKind
impl UnwindSafe for PrefixKind
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