Struct gimli::X86

source ·
pub struct X86;
Expand description

Intel i386 architecture specific definitions.

See Intel386 psABi version 1.1 at the X86 psABI wiki.

Implementations§

source§

impl X86

source

pub const EAX: Register = _

source

pub const ECX: Register = _

source

pub const EDX: Register = _

source

pub const EBX: Register = _

source

pub const ESP: Register = _

source

pub const EBP: Register = _

source

pub const ESI: Register = _

source

pub const EDI: Register = _

source

pub const RA: Register = _

source

pub const ST0: Register = _

source

pub const ST1: Register = _

source

pub const ST2: Register = _

source

pub const ST3: Register = _

source

pub const ST4: Register = _

source

pub const ST5: Register = _

source

pub const ST6: Register = _

source

pub const ST7: Register = _

source

pub const XMM0: Register = _

source

pub const XMM1: Register = _

source

pub const XMM2: Register = _

source

pub const XMM3: Register = _

source

pub const XMM4: Register = _

source

pub const XMM5: Register = _

source

pub const XMM6: Register = _

source

pub const XMM7: Register = _

source

pub const MM0: Register = _

source

pub const MM1: Register = _

source

pub const MM2: Register = _

source

pub const MM3: Register = _

source

pub const MM4: Register = _

source

pub const MM5: Register = _

source

pub const MM6: Register = _

source

pub const MM7: Register = _

source

pub const MXCSR: Register = _

source

pub const ES: Register = _

source

pub const CS: Register = _

source

pub const SS: Register = _

source

pub const DS: Register = _

source

pub const FS: Register = _

source

pub const GS: Register = _

source

pub const TR: Register = _

source

pub const LDTR: Register = _

source

pub const FS_BASE: Register = _

source

pub const GS_BASE: Register = _

source§

impl X86

source

pub fn register_name(register: Register) -> Option<&'static str>

The name of a register, or None if the register number is unknown.

Only returns the primary name for registers that alias with others.

source

pub fn name_to_register(value: &str) -> Option<Register>

Converts a register name into a register number.

Trait Implementations§

source§

impl Clone for X86

source§

fn clone(&self) -> X86

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for X86

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for X86

Auto Trait Implementations§

§

impl RefUnwindSafe for X86

§

impl Send for X86

§

impl Sync for X86

§

impl Unpin for X86

§

impl UnwindSafe for X86

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.