#[repr(C)]pub struct GuestRegisters {Show 18 fields
pub rax: u64,
pub rbx: u64,
pub rcx: u64,
pub rdx: u64,
pub rsi: u64,
pub rdi: u64,
pub rbp: u64,
pub rsp: u64,
pub r8: u64,
pub r9: u64,
pub r10: u64,
pub r11: u64,
pub r12: u64,
pub r13: u64,
pub r14: u64,
pub r15: u64,
pub rip: u64,
pub rflags: u64,
}Expand description
General-purpose register state for a vCPU
Fields§
§rax: u64§rbx: u64§rcx: u64§rdx: u64§rsi: u64§rdi: u64§rbp: u64§rsp: u64§r8: u64§r9: u64§r10: u64§r11: u64§r12: u64§r13: u64§r14: u64§r15: u64§rip: u64§rflags: u64Trait Implementations§
Source§impl Clone for GuestRegisters
impl Clone for GuestRegisters
Source§fn clone(&self) -> GuestRegisters
fn clone(&self) -> GuestRegisters
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 GuestRegisters
impl Debug for GuestRegisters
Source§impl Default for GuestRegisters
impl Default for GuestRegisters
Source§fn default() -> GuestRegisters
fn default() -> GuestRegisters
Returns the “default value” for a type. Read more
Source§impl PartialEq for GuestRegisters
impl PartialEq for GuestRegisters
impl Copy for GuestRegisters
impl Eq for GuestRegisters
impl StructuralPartialEq for GuestRegisters
Auto Trait Implementations§
impl Freeze for GuestRegisters
impl RefUnwindSafe for GuestRegisters
impl Send for GuestRegisters
impl Sync for GuestRegisters
impl Unpin for GuestRegisters
impl UnwindSafe for GuestRegisters
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§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)