[][src]Enum metagoblin::pe::exception::StackFrameOffset

pub enum StackFrameOffset {
    RSP(u32),
    FP(u32),
}

An unsigned offset to a value in the local stack frame.

Variants

RSP(u32)

Offset from the current RSP, that is, the lowest address of the fixed stack allocation.

To restore this register, read the value at the given offset from the RSP.

FP(u32)

Offset from the value of the frame pointer register.

To restore this register, read the value at the given offset from the FP register, reduced by the frame_register_offset value specified in the UnwindInfo structure. By definition, the frame pointer register is any register other than RAX (0).

Trait Implementations

impl Clone for StackFrameOffset[src]

impl Copy for StackFrameOffset[src]

impl Debug for StackFrameOffset[src]

impl Eq for StackFrameOffset[src]

impl PartialEq<StackFrameOffset> for StackFrameOffset[src]

impl StructuralEq for StackFrameOffset[src]

impl StructuralPartialEq for StackFrameOffset[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.