Struct xed_sys::xed_state_s
source · #[repr(C)]pub struct xed_state_s {
pub mmode: xed_machine_mode_enum_t,
pub stack_addr_width: xed_address_width_enum_t,
}
Expand description
Encapsulates machine modes for decoder/encoder requests. It specifies the machine operating mode as a #xed_machine_mode_enum_t for decoding and encoding. The machine mode corresponds to the default data operand width for that mode. For all modes other than the 64b long mode (XED_MACHINE_MODE_LONG_64), a default addressing width, and a stack addressing width must be supplied of type #xed_address_width_enum_t . @ingroup INIT
Fields§
§mmode: xed_machine_mode_enum_t
real architected machine modes
stack_addr_width: xed_address_width_enum_t
for 16b/32b modes
Trait Implementations§
source§impl Clone for xed_state_s
impl Clone for xed_state_s
source§fn clone(&self) -> xed_state_s
fn clone(&self) -> xed_state_s
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 xed_state_s
impl Debug for xed_state_s
impl Copy for xed_state_s
Auto Trait Implementations§
impl RefUnwindSafe for xed_state_s
impl Send for xed_state_s
impl Sync for xed_state_s
impl Unpin for xed_state_s
impl UnwindSafe for xed_state_s
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