Struct kvm_bindings::kvm_regs
source · #[repr(C)]pub struct kvm_regs {Show 18 fields
pub rax: __u64,
pub rbx: __u64,
pub rcx: __u64,
pub rdx: __u64,
pub rsi: __u64,
pub rdi: __u64,
pub rsp: __u64,
pub rbp: __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,
}
Available on x86-64 only.
Fields§
§rax: __u64
§rbx: __u64
§rcx: __u64
§rdx: __u64
§rsi: __u64
§rdi: __u64
§rsp: __u64
§rbp: __u64
§r8: __u64
§r9: __u64
§r10: __u64
§r11: __u64
§r12: __u64
§r13: __u64
§r14: __u64
§r15: __u64
§rip: __u64
§rflags: __u64
Trait Implementations§
source§impl AsBytes for kvm_regs
impl AsBytes for kvm_regs
source§impl<'de> Deserialize<'de> for kvm_regs
Available on crate feature serde
only.
impl<'de> Deserialize<'de> for kvm_regs
Available on crate feature
serde
only.source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromBytes for kvm_regs
impl FromBytes for kvm_regs
source§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
Interprets the prefix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read moresource§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
Interprets the suffix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read moresource§fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [Self], &mut [u8])>
fn mut_slice_from_prefix( bytes: &mut [u8], count: usize ) -> Option<(&mut [Self], &mut [u8])>
Interprets the prefix of the given
bytes
as a &mut [Self]
with length
equal to count
without copying. Read moresource§fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [u8], &mut [Self])>
fn mut_slice_from_suffix( bytes: &mut [u8], count: usize ) -> Option<(&mut [u8], &mut [Self])>
Interprets the suffix of the given
bytes
as a &mut [Self]
with length
equal to count
without copying. Read moresource§impl FromZeroes for kvm_regswhere
__u64: FromZeroes,
impl FromZeroes for kvm_regswhere
__u64: FromZeroes,
source§impl PartialEq for kvm_regs
impl PartialEq for kvm_regs
impl Copy for kvm_regs
impl StructuralPartialEq for kvm_regs
Auto Trait Implementations§
impl Freeze for kvm_regs
impl RefUnwindSafe for kvm_regs
impl Send for kvm_regs
impl Sync for kvm_regs
impl Unpin for kvm_regs
impl UnwindSafe for kvm_regs
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more