#[non_exhaustive]pub enum RepPrefixKind {
None = 0,
Repe = 1,
Repne = 2,
}
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.
Implementations§
Source§impl 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§
Source§impl Clone for RepPrefixKind
impl Clone for RepPrefixKind
Source§fn clone(&self) -> RepPrefixKind
fn clone(&self) -> RepPrefixKind
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 RepPrefixKind
impl Debug for RepPrefixKind
Source§impl Default for RepPrefixKind
impl Default for RepPrefixKind
Source§impl<'de> Deserialize<'de> for RepPrefixKind
impl<'de> Deserialize<'de> for RepPrefixKind
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 RepPrefixKind
impl Hash for RepPrefixKind
Source§impl Ord for RepPrefixKind
impl Ord for RepPrefixKind
Source§fn cmp(&self, other: &RepPrefixKind) -> Ordering
fn cmp(&self, other: &RepPrefixKind) -> 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 RepPrefixKind
impl PartialEq for RepPrefixKind
Source§impl PartialOrd for RepPrefixKind
impl PartialOrd for RepPrefixKind
Source§impl Serialize for RepPrefixKind
impl Serialize for RepPrefixKind
Source§impl TryFrom<usize> for RepPrefixKind
impl TryFrom<usize> for RepPrefixKind
impl Copy for RepPrefixKind
impl Eq for RepPrefixKind
impl StructuralPartialEq for RepPrefixKind
Auto Trait Implementations§
impl Freeze for RepPrefixKind
impl RefUnwindSafe for RepPrefixKind
impl Send for RepPrefixKind
impl Sync for RepPrefixKind
impl Unpin for RepPrefixKind
impl UnwindSafe for RepPrefixKind
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