Struct x86defs::vmx::CrAccessQualification
source · pub struct CrAccessQualification(/* private fields */);
Implementations§
source§impl CrAccessQualification
impl CrAccessQualification
sourcepub const fn access_type(&self) -> u8
pub const fn access_type(&self) -> u8
Bits: 4..6
sourcepub const fn with_access_type(self, value: u8) -> Self
pub const fn with_access_type(self, value: u8) -> Self
Bits: 4..6
sourcepub fn set_access_type(&mut self, value: u8)
pub fn set_access_type(&mut self, value: u8)
Bits: 4..6
sourcepub const fn lmsw_is_memory(&self) -> bool
pub const fn lmsw_is_memory(&self) -> bool
Bits: 6..7
sourcepub const fn with_lmsw_is_memory(self, value: bool) -> Self
pub const fn with_lmsw_is_memory(self, value: bool) -> Self
Bits: 6..7
sourcepub fn set_lmsw_is_memory(&mut self, value: bool)
pub fn set_lmsw_is_memory(&mut self, value: bool)
Bits: 6..7
sourcepub const fn gp_register(&self) -> u8
pub const fn gp_register(&self) -> u8
Bits: 8..12
sourcepub const fn with_gp_register(self, value: u8) -> Self
pub const fn with_gp_register(self, value: u8) -> Self
Bits: 8..12
sourcepub fn set_gp_register(&mut self, value: u8)
pub fn set_gp_register(&mut self, value: u8)
Bits: 8..12
sourcepub const fn lmsw_source_data(&self) -> u16
pub const fn lmsw_source_data(&self) -> u16
Bits: 16..32
sourcepub const fn with_lmsw_source_data(self, value: u16) -> Self
pub const fn with_lmsw_source_data(self, value: u16) -> Self
Bits: 16..32
sourcepub fn set_lmsw_source_data(&mut self, value: u16)
pub fn set_lmsw_source_data(&mut self, value: u16)
Bits: 16..32
Trait Implementations§
source§impl Clone for CrAccessQualification
impl Clone for CrAccessQualification
source§fn clone(&self) -> CrAccessQualification
fn clone(&self) -> CrAccessQualification
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CrAccessQualification
impl Debug for CrAccessQualification
source§impl Default for CrAccessQualification
impl Default for CrAccessQualification
source§impl From<CrAccessQualification> for u64
impl From<CrAccessQualification> for u64
source§fn from(v: CrAccessQualification) -> u64
fn from(v: CrAccessQualification) -> u64
Converts to this type from the input type.
source§impl From<u64> for CrAccessQualification
impl From<u64> for CrAccessQualification
impl Copy for CrAccessQualification
Auto Trait Implementations§
impl Freeze for CrAccessQualification
impl RefUnwindSafe for CrAccessQualification
impl Send for CrAccessQualification
impl Sync for CrAccessQualification
impl Unpin for CrAccessQualification
impl UnwindSafe for CrAccessQualification
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)