#[repr(C)]
pub struct ExceptionFrame { /* private fields */ }
Expand description

Registers stacked (pushed onto the stack) during an exception.

Implementations

Returns the value of (general purpose) register 0.

Returns the value of (general purpose) register 1.

Returns the value of (general purpose) register 2.

Returns the value of (general purpose) register 3.

Returns the value of (general purpose) register 12.

Returns the value of the Link Register.

Returns the value of the Program Counter.

Returns the value of the Program Status Register.

Sets the stacked value of (general purpose) register 0.

Safety

This affects the r0 register of the preempted code, which must not rely on it getting restored to its previous value.

Sets the stacked value of (general purpose) register 1.

Safety

This affects the r1 register of the preempted code, which must not rely on it getting restored to its previous value.

Sets the stacked value of (general purpose) register 2.

Safety

This affects the r2 register of the preempted code, which must not rely on it getting restored to its previous value.

Sets the stacked value of (general purpose) register 3.

Safety

This affects the r3 register of the preempted code, which must not rely on it getting restored to its previous value.

Sets the stacked value of (general purpose) register 12.

Safety

This affects the r12 register of the preempted code, which must not rely on it getting restored to its previous value.

Sets the stacked value of the Link Register.

Safety

This affects the lr register of the preempted code, which must not rely on it getting restored to its previous value.

Sets the stacked value of the Program Counter.

Safety

This affects the pc register of the preempted code, which must not rely on it getting restored to its previous value.

Sets the stacked value of the Program Status Register.

Safety

This affects the xPSR registers (IPSR, APSR, and EPSR) of the preempted code, which must not rely on them getting restored to their previous value.

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

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

Returns the argument unchanged.

Calls U::from(self).

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

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.