Enum iced_x86::MandatoryPrefix
source · pub enum MandatoryPrefix {
None = 0,
PNP = 1,
P66 = 2,
PF3 = 3,
PF2 = 4,
}
Expand description
Mandatory prefix
Variants§
None = 0
No mandatory prefix (legacy and 3DNow! tables only)
PNP = 1
Empty mandatory prefix (no 66
, F3
or F2
prefix)
P66 = 2
66
prefix
PF3 = 3
F3
prefix
PF2 = 4
F2
prefix
Implementations§
source§impl MandatoryPrefix
impl MandatoryPrefix
sourcepub fn values(
) -> impl Iterator<Item = MandatoryPrefix> + DoubleEndedIterator + ExactSizeIterator + FusedIterator
pub fn values( ) -> impl Iterator<Item = MandatoryPrefix> + DoubleEndedIterator + ExactSizeIterator + FusedIterator
Iterates over all MandatoryPrefix
enum values
Trait Implementations§
source§impl Clone for MandatoryPrefix
impl Clone for MandatoryPrefix
source§fn clone(&self) -> MandatoryPrefix
fn clone(&self) -> MandatoryPrefix
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 MandatoryPrefix
impl Debug for MandatoryPrefix
source§impl Default for MandatoryPrefix
impl Default for MandatoryPrefix
source§impl<'de> Deserialize<'de> for MandatoryPrefix
impl<'de> Deserialize<'de> for MandatoryPrefix
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 MandatoryPrefix
impl Hash for MandatoryPrefix
source§impl Ord for MandatoryPrefix
impl Ord for MandatoryPrefix
source§fn cmp(&self, other: &MandatoryPrefix) -> Ordering
fn cmp(&self, other: &MandatoryPrefix) -> 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 MandatoryPrefix
impl PartialEq for MandatoryPrefix
source§fn eq(&self, other: &MandatoryPrefix) -> bool
fn eq(&self, other: &MandatoryPrefix) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MandatoryPrefix
impl PartialOrd for MandatoryPrefix
source§fn partial_cmp(&self, other: &MandatoryPrefix) -> Option<Ordering>
fn partial_cmp(&self, other: &MandatoryPrefix) -> 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 MandatoryPrefix
impl Serialize for MandatoryPrefix
source§impl TryFrom<usize> for MandatoryPrefix
impl TryFrom<usize> for MandatoryPrefix
impl Copy for MandatoryPrefix
impl Eq for MandatoryPrefix
impl StructuralEq for MandatoryPrefix
impl StructuralPartialEq for MandatoryPrefix
Auto Trait Implementations§
impl RefUnwindSafe for MandatoryPrefix
impl Send for MandatoryPrefix
impl Sync for MandatoryPrefix
impl Unpin for MandatoryPrefix
impl UnwindSafe for MandatoryPrefix
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