Enum iced_x86::RepPrefixKind
source · [−]#[non_exhaustive]
pub enum RepPrefixKind {
None,
Repe,
Repne,
}
Expand description
REP
/REPE
/REPNE
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.
None
No REP
/REPE
/REPNE
prefix
Repe
REP
/REPE
prefix
Repne
REPNE
prefix
Implementations
sourceimpl RepPrefixKind
impl RepPrefixKind
sourcepub fn values(
) -> impl Iterator<Item = RepPrefixKind> + DoubleEndedIterator + ExactSizeIterator + FusedIterator
pub fn values(
) -> impl Iterator<Item = RepPrefixKind> + DoubleEndedIterator + ExactSizeIterator + FusedIterator
Iterates over all RepPrefixKind
enum values
Trait Implementations
sourceimpl Clone for RepPrefixKind
impl Clone for RepPrefixKind
sourcefn clone(&self) -> RepPrefixKind
fn clone(&self) -> RepPrefixKind
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 RepPrefixKind
impl Debug for RepPrefixKind
sourceimpl Default for RepPrefixKind
impl Default for RepPrefixKind
sourceimpl Hash for RepPrefixKind
impl Hash for RepPrefixKind
sourceimpl Ord for RepPrefixKind
impl Ord for RepPrefixKind
sourcefn cmp(&self, other: &RepPrefixKind) -> Ordering
fn cmp(&self, other: &RepPrefixKind) -> 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<RepPrefixKind> for RepPrefixKind
impl PartialEq<RepPrefixKind> for RepPrefixKind
sourcefn eq(&self, other: &RepPrefixKind) -> bool
fn eq(&self, other: &RepPrefixKind) -> bool
sourceimpl PartialOrd<RepPrefixKind> for RepPrefixKind
impl PartialOrd<RepPrefixKind> for RepPrefixKind
sourcefn partial_cmp(&self, other: &RepPrefixKind) -> Option<Ordering>
fn partial_cmp(&self, other: &RepPrefixKind) -> 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 RepPrefixKind
impl TryFrom<usize> for RepPrefixKind
impl Copy for RepPrefixKind
impl Eq for RepPrefixKind
impl StructuralEq for RepPrefixKind
impl StructuralPartialEq for RepPrefixKind
Auto Trait Implementations
impl RefUnwindSafe for RepPrefixKind
impl Send for RepPrefixKind
impl Sync for RepPrefixKind
impl Unpin for RepPrefixKind
impl UnwindSafe for RepPrefixKind
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