pub struct CONTEXT_SPARC {
    pub context_flags: u32,
    pub flag_pad: u32,
    pub g_r: [u64; 32],
    pub ccr: u64,
    pub pc: u64,
    pub npc: u64,
    pub y: u64,
    pub asi: u64,
    pub fprs: u64,
    pub float_save: FLOATING_SAVE_AREA_SPARC,
}
Expand description

A SPARC CPU context

This is a Breakpad extension, as there is no definition of CONTEXT for SPARC in WinNT.h.

Fields

context_flags: u32flag_pad: u32g_r: [u64; 32]ccr: u64pc: u64npc: u64y: u64asi: u64fprs: u64float_save: FLOATING_SAVE_AREA_SPARC

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

The word size of general-purpose registers in the context.

General purpose registers in this context type.

Get a register value regardless of whether it is valid.

Set a register value, if that register name it exists. Read more

Gets the name of the stack pointer register (for use with get_register/set_register).

Gets the name of the instruction pointer register (for use with get_register/set_register).

Gets whether the given register is valid Read more

Get a register value if it is valid. Read more

Gets a static version of the given register name, if possible. Read more

Return a String containing the value of reg formatted to its natural width.

An iterator over all registers in this context. Read more

An iterator over valid registers in this context. 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 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)

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.