[][src]Struct iced_x86::FpuStackIncrementInfo

pub struct FpuStackIncrementInfo { /* fields omitted */ }

Contains the FPU TOP increment, whether it's conditional and whether the instruction writes to TOP

Implementations

impl FpuStackIncrementInfo[src]

#[must_use]pub fn new(increment: i32, conditional: bool, writes_top: bool) -> Self[src]

Constructor

#[must_use]pub fn increment(&self) -> i32[src]

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.

#[must_use]pub fn conditional(&self) -> bool[src]

true if it's a conditional push/pop (eg. FPTAN or FSINCOS)

#[must_use]pub fn writes_top(&self) -> bool[src]

true if TOP is written (it's a conditional/unconditional push/pop, FNSAVE, FLDENV, etc)

Trait Implementations

impl Clone for FpuStackIncrementInfo[src]

impl Copy for FpuStackIncrementInfo[src]

impl Debug for FpuStackIncrementInfo[src]

impl Default for FpuStackIncrementInfo[src]

impl Eq for FpuStackIncrementInfo[src]

impl Hash for FpuStackIncrementInfo[src]

impl PartialEq<FpuStackIncrementInfo> for FpuStackIncrementInfo[src]

impl StructuralEq for FpuStackIncrementInfo[src]

impl StructuralPartialEq for FpuStackIncrementInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.