Enum gimli::read::CfaRule[][src]

pub enum CfaRule<R: Reader> {
    RegisterAndOffset {
        register: Register,
        offset: i64,
    },
    Expression(Expression<R>),
}

The canonical frame address (CFA) recovery rules.

Variants

RegisterAndOffset

The CFA is given offset from the given register’s value.

Fields of RegisterAndOffset

register: Register

The register containing the base value.

offset: i64

The offset from the register’s base value.

Expression(Expression<R>)

The CFA is obtained by evaluating this Reader as a DWARF expression program.

Trait Implementations

impl<R: Clone + Reader> Clone for CfaRule<R>[src]

impl<R: Debug + Reader> Debug for CfaRule<R>[src]

impl<R: Reader> Default for CfaRule<R>[src]

impl<R: Eq + Reader> Eq for CfaRule<R>[src]

impl<R: PartialEq + Reader> PartialEq<CfaRule<R>> for CfaRule<R>[src]

impl<R: Reader> StructuralEq for CfaRule<R>[src]

impl<R: Reader> StructuralPartialEq for CfaRule<R>[src]

Auto Trait Implementations

impl<R> Send for CfaRule<R> where
    R: Send

impl<R> Sync for CfaRule<R> where
    R: Sync

impl<R> Unpin for CfaRule<R> where
    R: Unpin

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.