Enum zydis::MachineMode
source · #[repr(C)]pub enum MachineMode {
LONG_64 = 0,
LONG_COMPAT_32 = 1,
LONG_COMPAT_16 = 2,
LEGACY_32 = 3,
LEGACY_16 = 4,
REAL_16 = 5,
}
Expand description
Defines the ZydisMachineMode
enum.
Variants§
LONG_64 = 0
64 bit mode.
LONG_COMPAT_32 = 1
32 bit protected mode.
LONG_COMPAT_16 = 2
16 bit protected mode.
LEGACY_32 = 3
32 bit protected mode.
LEGACY_16 = 4
16 bit protected mode.
REAL_16 = 5
16 bit real mode.
Trait Implementations§
source§impl Clone for MachineMode
impl Clone for MachineMode
source§fn clone(&self) -> MachineMode
fn clone(&self) -> MachineMode
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 MachineMode
impl Debug for MachineMode
source§impl<'de> Deserialize<'de> for MachineMode
impl<'de> Deserialize<'de> for MachineMode
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 MachineMode
impl Hash for MachineMode
source§impl PartialEq for MachineMode
impl PartialEq for MachineMode
source§fn eq(&self, other: &MachineMode) -> bool
fn eq(&self, other: &MachineMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MachineMode
impl Serialize for MachineMode
impl Copy for MachineMode
impl Eq for MachineMode
impl StructuralPartialEq for MachineMode
Auto Trait Implementations§
impl RefUnwindSafe for MachineMode
impl Send for MachineMode
impl Sync for MachineMode
impl Unpin for MachineMode
impl UnwindSafe for MachineMode
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