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 Ord for CodeSize
impl Ord for CodeSize
1.21.0 (const: unstable) · 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 PartialOrd for CodeSize
impl PartialOrd for CodeSize
impl Copy for CodeSize
impl Eq for CodeSize
impl StructuralPartialEq for CodeSize
Auto Trait Implementations§
impl Freeze for CodeSize
impl RefUnwindSafe for CodeSize
impl Send for CodeSize
impl Sync for CodeSize
impl Unpin for CodeSize
impl UnsafeUnpin 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