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
sourceimpl 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
sourceimpl Clone for FpuStackIncrementInfo
impl Clone for FpuStackIncrementInfo
sourcefn clone(&self) -> FpuStackIncrementInfo
fn clone(&self) -> FpuStackIncrementInfo
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FpuStackIncrementInfo
impl Debug for FpuStackIncrementInfo
sourceimpl Default for FpuStackIncrementInfo
impl Default for FpuStackIncrementInfo
sourcefn default() -> FpuStackIncrementInfo
fn default() -> FpuStackIncrementInfo
Returns the “default value” for a type. Read more
sourceimpl Hash for FpuStackIncrementInfo
impl Hash for FpuStackIncrementInfo
sourceimpl PartialEq<FpuStackIncrementInfo> for FpuStackIncrementInfo
impl PartialEq<FpuStackIncrementInfo> for FpuStackIncrementInfo
sourcefn eq(&self, other: &FpuStackIncrementInfo) -> bool
fn eq(&self, other: &FpuStackIncrementInfo) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more