Struct iced_x86::FpuStackIncrementInfo
source · pub struct FpuStackIncrementInfo { /* private fields */ }
Expand description
Contains the FPU TOP
increment, whether it’s conditional and whether the instruction writes to TOP
Implementations§
source§impl FpuStackIncrementInfo
impl FpuStackIncrementInfo
sourcepub const fn increment(&self) -> i32
pub const fn increment(&self) -> i32
Used if writes_top()
is true
:
Value added to TOP
.
This is negative if it pushes one or more values and positive if it pops one or more values
and 0
if it writes to TOP
(eg. FLDENV
, etc) without pushing/popping anything.
sourcepub const fn conditional(&self) -> bool
pub const fn conditional(&self) -> bool
true
if it’s a conditional push/pop (eg. FPTAN
or FSINCOS
)
sourcepub const fn writes_top(&self) -> bool
pub const fn writes_top(&self) -> bool
true
if TOP
is written (it’s a conditional/unconditional push/pop, FNSAVE
, FLDENV
, etc)
Trait Implementations§
source§impl Clone for FpuStackIncrementInfo
impl Clone for FpuStackIncrementInfo
source§fn clone(&self) -> FpuStackIncrementInfo
fn clone(&self) -> FpuStackIncrementInfo
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 FpuStackIncrementInfo
impl Debug for FpuStackIncrementInfo
source§impl Default for FpuStackIncrementInfo
impl Default for FpuStackIncrementInfo
source§fn default() -> FpuStackIncrementInfo
fn default() -> FpuStackIncrementInfo
Returns the “default value” for a type. Read more
source§impl Hash for FpuStackIncrementInfo
impl Hash for FpuStackIncrementInfo
source§impl PartialEq for FpuStackIncrementInfo
impl PartialEq for FpuStackIncrementInfo
source§fn eq(&self, other: &FpuStackIncrementInfo) -> bool
fn eq(&self, other: &FpuStackIncrementInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FpuStackIncrementInfo
impl Eq for FpuStackIncrementInfo
impl StructuralEq for FpuStackIncrementInfo
impl StructuralPartialEq for FpuStackIncrementInfo
Auto Trait Implementations§
impl RefUnwindSafe for FpuStackIncrementInfo
impl Send for FpuStackIncrementInfo
impl Sync for FpuStackIncrementInfo
impl Unpin for FpuStackIncrementInfo
impl UnwindSafe for FpuStackIncrementInfo
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