pub struct RegisterState {
pub registers: [u64; 19],
pub fp: u64,
pub sp: u64,
pub elr: usize,
pub spsr: u64,
/* private fields */
}Expand description
The register state saved before calling the exception handler.
Fields§
§registers: [u64; 19]Registers x0-x18.
fp: u64Register x29, the Frame Pointer.
sp: u64Register x30, the Stack Pointer.
elr: usize§spsr: u64Trait Implementations§
Source§impl AsRef<RegisterState> for RegisterStateRef<'_>
impl AsRef<RegisterState> for RegisterStateRef<'_>
Source§fn as_ref(&self) -> &RegisterState
fn as_ref(&self) -> &RegisterState
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Borrow<RegisterState> for RegisterStateRef<'_>
impl Borrow<RegisterState> for RegisterStateRef<'_>
Source§fn borrow(&self) -> &RegisterState
fn borrow(&self) -> &RegisterState
Immutably borrows from an owned value. Read more
Source§impl Clone for RegisterState
impl Clone for RegisterState
Source§fn clone(&self) -> RegisterState
fn clone(&self) -> RegisterState
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RegisterState
impl Debug for RegisterState
Source§impl PartialEq for RegisterState
impl PartialEq for RegisterState
impl Eq for RegisterState
impl StructuralPartialEq for RegisterState
Auto Trait Implementations§
impl Freeze for RegisterState
impl RefUnwindSafe for RegisterState
impl Send for RegisterState
impl Sync for RegisterState
impl Unpin for RegisterState
impl UnwindSafe for RegisterState
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)