pub struct KvmSregs {Show 13 fields
pub cs: KvmSegment,
pub ds: KvmSegment,
pub es: KvmSegment,
pub fs: KvmSegment,
pub gs: KvmSegment,
pub ss: KvmSegment,
pub tr: KvmSegment,
pub ldt: KvmSegment,
pub cr0: u64,
pub cr2: u64,
pub cr3: u64,
pub cr4: u64,
pub efer: u64,
}Expand description
x86_64 system register set (segment + control registers)
Fields§
§cs: KvmSegment§ds: KvmSegment§es: KvmSegment§fs: KvmSegment§gs: KvmSegment§ss: KvmSegment§tr: KvmSegment§ldt: KvmSegment§cr0: u64§cr2: u64§cr3: u64§cr4: u64§efer: u64Trait Implementations§
impl Copy for KvmSregs
Auto Trait Implementations§
impl Freeze for KvmSregs
impl RefUnwindSafe for KvmSregs
impl Send for KvmSregs
impl Sync for KvmSregs
impl Unpin for KvmSregs
impl UnwindSafe for KvmSregs
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)