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§impl PartialOrd for MandatoryPrefix
impl PartialOrd for MandatoryPrefix
Source§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 StructuralPartialEq for MandatoryPrefix
Auto Trait Implementations§
impl Freeze for MandatoryPrefix
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