pub struct AmdC001102dMsr(/* private fields */);Expand description
Layout for [AMD_C001102d].
Implementations§
Source§impl AmdC001102dMsr
impl AmdC001102dMsr
Sourcepub const RSVD1_MASK: u64
pub const RSVD1_MASK: u64
Mask of all reserved-as-1 bits.
Sourcepub const RSVD0_MASK: u64
pub const RSVD0_MASK: u64
Mask of all reserved-as-0 bits.
Sourcepub const DEFAULT: u64
pub const DEFAULT: u64
The default value of the layout, combining all field defaults and reserved-as values.
Sourcepub const ERRATUM_1091_WORKAROUND_MASK: u64
pub const ERRATUM_1091_WORKAROUND_MASK: u64
Unshifted bitmask of erratum_1091_workaround.
Sourcepub const ERRATUM_1091_WORKAROUND_SHIFT: usize = 34
pub const ERRATUM_1091_WORKAROUND_SHIFT: usize = 34
Bit shift (i.e., the low bit) of erratum_1091_workaround.
Sourcepub const FIELDS: [FieldMetadata<u64>; 1]
pub const FIELDS: [FieldMetadata<u64>; 1]
Metadata of all named fields in the layout.
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new instance with reserved-as-1 bits set and
all other bits zeroed (i.e., with a value of
Self::RSVD1_MASK).
pub const fn bits(self) -> u64
Sourcepub const fn erratum_1091_workaround(&self) -> bool
pub const fn erratum_1091_workaround(&self) -> bool
The value of AmdC001102dMsr34.
Sourcepub const fn set_erratum_1091_workaround(&mut self, value: bool) -> &mut Self
pub const fn set_erratum_1091_workaround(&mut self, value: bool) -> &mut Self
Sets the value of AmdC001102dMsr34.
Trait Implementations§
Source§impl Binary for AmdC001102dMsr
impl Binary for AmdC001102dMsr
Source§impl Clone for AmdC001102dMsr
impl Clone for AmdC001102dMsr
Source§fn clone(&self) -> AmdC001102dMsr
fn clone(&self) -> AmdC001102dMsr
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 AmdC001102dMsr
Source§impl Debug for AmdC001102dMsr
impl Debug for AmdC001102dMsr
Source§impl Default for AmdC001102dMsr
impl Default for AmdC001102dMsr
Source§fn default() -> Self
fn default() -> Self
Returns an instance with the default bits set (i.e,. with a
value of Self::DEFAULT.
impl Eq for AmdC001102dMsr
Source§impl From<AmdC001102dMsr> for u64
impl From<AmdC001102dMsr> for u64
Source§fn from(value: AmdC001102dMsr) -> Self
fn from(value: AmdC001102dMsr) -> Self
Converts to this type from the input type.
Source§impl From<u64> for AmdC001102dMsr
impl From<u64> for AmdC001102dMsr
Source§impl IntoIterator for AmdC001102dMsr
impl IntoIterator for AmdC001102dMsr
Source§impl<'a> IntoIterator for &'a AmdC001102dMsr
impl<'a> IntoIterator for &'a AmdC001102dMsr
Source§impl LowerHex for AmdC001102dMsr
impl LowerHex for AmdC001102dMsr
Source§impl Octal for AmdC001102dMsr
impl Octal for AmdC001102dMsr
Source§impl PartialEq for AmdC001102dMsr
impl PartialEq for AmdC001102dMsr
impl StructuralPartialEq for AmdC001102dMsr
Auto Trait Implementations§
impl Freeze for AmdC001102dMsr
impl RefUnwindSafe for AmdC001102dMsr
impl Send for AmdC001102dMsr
impl Sync for AmdC001102dMsr
impl Unpin for AmdC001102dMsr
impl UnsafeUnpin for AmdC001102dMsr
impl UnwindSafe for AmdC001102dMsr
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)