Enum cranelift_codegen::machinst::abi_impl::StackAMode[][src]

pub enum StackAMode {
    FPOffset(i64Type),
    NominalSPOffset(i64Type),
    SPOffset(i64Type),
}

Abstract location for a machine-specific ABI impl to translate into the appropriate addressing mode.

Variants

FPOffset(i64Type)

Offset from the frame pointer, possibly making use of a specific type for a scaled indexing operation.

NominalSPOffset(i64Type)

Offset from the nominal stack pointer, possibly making use of a specific type for a scaled indexing operation.

SPOffset(i64Type)

Offset from the real stack pointer, possibly making use of a specific type for a scaled indexing operation.

Implementations

impl StackAMode[src]

pub fn offset(self, addend: i64) -> Self[src]

Offset by an addend.

Trait Implementations

impl Clone for StackAMode[src]

impl Copy for StackAMode[src]

impl Debug for StackAMode[src]

Auto Trait Implementations

impl RefUnwindSafe for StackAMode

impl Send for StackAMode

impl Sync for StackAMode

impl Unpin for StackAMode

impl UnwindSafe for StackAMode

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.