Enum iced_x86::PrefixKind
source · [−]#[non_exhaustive]
pub enum PrefixKind {
Show 18 variants
ES,
CS,
SS,
DS,
FS,
GS,
Lock,
Rep,
Repe,
Repne,
OperandSize,
AddressSize,
HintNotTaken,
HintTaken,
Bnd,
Notrack,
Xacquire,
Xrelease,
}
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
CS
SS
DS
FS
GS
Lock
Rep
Repe
Repne
OperandSize
AddressSize
HintNotTaken
HintTaken
Bnd
Notrack
Xacquire
Xrelease
Implementations
sourceimpl 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
sourceimpl Clone for PrefixKind
impl Clone for PrefixKind
sourcefn clone(&self) -> PrefixKind
fn clone(&self) -> PrefixKind
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PrefixKind
impl Debug for PrefixKind
sourceimpl Default for PrefixKind
impl Default for PrefixKind
sourceimpl Hash for PrefixKind
impl Hash for PrefixKind
sourceimpl Ord for PrefixKind
impl Ord for PrefixKind
sourcefn cmp(&self, other: &PrefixKind) -> Ordering
fn cmp(&self, other: &PrefixKind) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Self
const fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Self
const fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<PrefixKind> for PrefixKind
impl PartialEq<PrefixKind> for PrefixKind
sourcefn eq(&self, other: &PrefixKind) -> bool
fn eq(&self, other: &PrefixKind) -> bool
sourceimpl PartialOrd<PrefixKind> for PrefixKind
impl PartialOrd<PrefixKind> for PrefixKind
sourcefn partial_cmp(&self, other: &PrefixKind) -> Option<Ordering>
fn partial_cmp(&self, other: &PrefixKind) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const 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 moresourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more