Enum iced_x86::OpAccess[][src]

pub enum OpAccess {
    None,
    Read,
    CondRead,
    Write,
    CondWrite,
    ReadWrite,
    ReadCondWrite,
    NoMemAccess,
}

Operand, register and memory access

Variants

None

Nothing is read and nothing is written

Read

The value is read

CondRead

The value is sometimes read and sometimes not

Write

The value is completely overwritten

CondWrite

Conditional write, sometimes it’s written and sometimes it’s not modified

ReadWrite

The value is read and written

ReadCondWrite

The value is read and sometimes written

NoMemAccess

The memory operand doesn’t refer to memory (eg. LEA instruction) or it’s an instruction that doesn’t read the data to a register or doesn’t write to the memory location, it just prefetches/invalidates it, eg. INVLPG, PREFETCHNTA, VGATHERPF0DPS, etc. Some of those instructions still check if the code can access the memory location.

Implementations

impl OpAccess[src]

pub fn values(
) -> impl Iterator<Item = OpAccess> + ExactSizeIterator + FusedIterator
[src]

Iterates over all OpAccess enum values

Trait Implementations

impl Clone for OpAccess[src]

impl Copy for OpAccess[src]

impl Debug for OpAccess[src]

impl Default for OpAccess[src]

impl Eq for OpAccess[src]

impl Hash for OpAccess[src]

impl Ord for OpAccess[src]

impl PartialEq<OpAccess> for OpAccess[src]

impl PartialOrd<OpAccess> for OpAccess[src]

impl StructuralEq for OpAccess[src]

impl StructuralPartialEq for OpAccess[src]

impl TryFrom<usize> for OpAccess[src]

type Error = IcedError

The type returned in the event of a conversion error.

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.