Struct bddisasm::cpu_modes::OperatingMode
source · pub struct OperatingMode {
pub real: bool,
pub v8086: bool,
pub protected: bool,
pub compat: bool,
pub long: bool,
}
Expand description
Operating modes in which an instruction is supported.
Fields§
§real: bool
The instruction is valid in real mode.
v8086: bool
The instruction is valid in Virtual 8086 mode.
protected: bool
The instruction is valid in protected mode (32 bit).
compat: bool
The instruction is valid in compatibility mode (32 bit in 64 bit).
long: bool
The instruction is valid in long mode.
Trait Implementations§
source§impl Clone for OperatingMode
impl Clone for OperatingMode
source§fn clone(&self) -> OperatingMode
fn clone(&self) -> OperatingMode
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 OperatingMode
impl Debug for OperatingMode
source§impl Hash for OperatingMode
impl Hash for OperatingMode
source§impl PartialEq for OperatingMode
impl PartialEq for OperatingMode
source§fn eq(&self, other: &OperatingMode) -> bool
fn eq(&self, other: &OperatingMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for OperatingMode
impl Eq for OperatingMode
impl StructuralPartialEq for OperatingMode
Auto Trait Implementations§
impl RefUnwindSafe for OperatingMode
impl Send for OperatingMode
impl Sync for OperatingMode
impl Unpin for OperatingMode
impl UnwindSafe for OperatingMode
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