Struct goblin::pe::exception::UnwindCode[][src]

pub struct UnwindCode {
    pub code_offset: u8,
    pub operation: UnwindOperation,
}
Expand description

An unwind operation that is executed at a particular place in the function prolog.

Fields

code_offset: u8

Offset of the corresponding instruction in the function prolog.

To be precise, this is the offset from the beginning of the prolog of the end of the instruction that performs this operation, plus 1 (that is, the offset of the start of the next instruction).

Unwind codes are ordered by this offset in reverse order, suitable for unwinding.

operation: UnwindOperation

The operation that was performed by the code in the prolog.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.