pub enum CodeSize {
Unknown = 0,
Code16 = 1,
Code32 = 2,
Code64 = 3,
}
Expand description
The code size (16/32/64) that was used when an instruction was decoded
Variants§
Implementations§
source§impl CodeSize
impl CodeSize
sourcepub fn values(
) -> impl Iterator<Item = CodeSize> + DoubleEndedIterator + ExactSizeIterator + FusedIterator
pub fn values( ) -> impl Iterator<Item = CodeSize> + DoubleEndedIterator + ExactSizeIterator + FusedIterator
Iterates over all CodeSize
enum values
Trait Implementations§
source§impl<'de> Deserialize<'de> for CodeSize
impl<'de> Deserialize<'de> for CodeSize
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 Ord for CodeSize
impl Ord for CodeSize
source§impl PartialEq for CodeSize
impl PartialEq for CodeSize
source§impl PartialOrd for CodeSize
impl PartialOrd for CodeSize
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 moreimpl Copy for CodeSize
impl Eq for CodeSize
impl StructuralEq for CodeSize
impl StructuralPartialEq for CodeSize
Auto Trait Implementations§
impl RefUnwindSafe for CodeSize
impl Send for CodeSize
impl Sync for CodeSize
impl Unpin for CodeSize
impl UnwindSafe for CodeSize
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