#[repr(C)]pub struct ArchSavedNormalState {
pub normal_fs_base: u64,
pub normal_gs_base: u64,
}Expand description
Architecture-specific saved normal mode state for x86_64.
Saves the normal mode fs_base and gs_base MSR values across restricted mode entry.
Fields§
§normal_fs_base: u64§normal_gs_base: u64Trait Implementations§
Source§impl Clone for ArchSavedNormalState
impl Clone for ArchSavedNormalState
Source§fn clone(&self) -> ArchSavedNormalState
fn clone(&self) -> ArchSavedNormalState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ArchSavedNormalState
Source§impl Debug for ArchSavedNormalState
impl Debug for ArchSavedNormalState
Source§impl Default for ArchSavedNormalState
impl Default for ArchSavedNormalState
Source§fn default() -> ArchSavedNormalState
fn default() -> ArchSavedNormalState
Returns the “default value” for a type. Read more
impl Eq for ArchSavedNormalState
Source§impl PartialEq for ArchSavedNormalState
impl PartialEq for ArchSavedNormalState
Source§fn eq(&self, other: &ArchSavedNormalState) -> bool
fn eq(&self, other: &ArchSavedNormalState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ArchSavedNormalState
Auto Trait Implementations§
impl Freeze for ArchSavedNormalState
impl RefUnwindSafe for ArchSavedNormalState
impl Send for ArchSavedNormalState
impl Sync for ArchSavedNormalState
impl Unpin for ArchSavedNormalState
impl UnsafeUnpin for ArchSavedNormalState
impl UnwindSafe for ArchSavedNormalState
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)