pub struct AmdC0011029Msr(/* private fields */);Expand description
Layout for AMD_C0011029.
Implementations§
Source§impl AmdC0011029Msr
impl AmdC0011029Msr
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_1021_WORKAROUND_MASK: u64
pub const ERRATUM_1021_WORKAROUND_MASK: u64
Unshifted bitmask of erratum_1021_workaround.
Sourcepub const ERRATUM_1021_WORKAROUND_SHIFT: usize = 13
pub const ERRATUM_1021_WORKAROUND_SHIFT: usize = 13
Bit shift (i.e., the low bit) of erratum_1021_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_1021_workaround(&self) -> bool
pub const fn erratum_1021_workaround(&self) -> bool
The value of AmdC0011029Msr13.
Sourcepub const fn set_erratum_1021_workaround(&mut self, value: bool) -> &mut Self
pub const fn set_erratum_1021_workaround(&mut self, value: bool) -> &mut Self
Sets the value of AmdC0011029Msr13.
Trait Implementations§
Source§impl Binary for AmdC0011029Msr
impl Binary for AmdC0011029Msr
Source§impl Clone for AmdC0011029Msr
impl Clone for AmdC0011029Msr
Source§fn clone(&self) -> AmdC0011029Msr
fn clone(&self) -> AmdC0011029Msr
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 AmdC0011029Msr
Source§impl Debug for AmdC0011029Msr
impl Debug for AmdC0011029Msr
Source§impl Default for AmdC0011029Msr
impl Default for AmdC0011029Msr
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 AmdC0011029Msr
Source§impl From<AmdC0011029Msr> for u64
impl From<AmdC0011029Msr> for u64
Source§fn from(value: AmdC0011029Msr) -> Self
fn from(value: AmdC0011029Msr) -> Self
Converts to this type from the input type.
Source§impl From<u64> for AmdC0011029Msr
impl From<u64> for AmdC0011029Msr
Source§impl IntoIterator for AmdC0011029Msr
impl IntoIterator for AmdC0011029Msr
Source§impl<'a> IntoIterator for &'a AmdC0011029Msr
impl<'a> IntoIterator for &'a AmdC0011029Msr
Source§impl LowerHex for AmdC0011029Msr
impl LowerHex for AmdC0011029Msr
Source§impl Octal for AmdC0011029Msr
impl Octal for AmdC0011029Msr
Source§impl PartialEq for AmdC0011029Msr
impl PartialEq for AmdC0011029Msr
impl StructuralPartialEq for AmdC0011029Msr
Auto Trait Implementations§
impl Freeze for AmdC0011029Msr
impl RefUnwindSafe for AmdC0011029Msr
impl Send for AmdC0011029Msr
impl Sync for AmdC0011029Msr
impl Unpin for AmdC0011029Msr
impl UnsafeUnpin for AmdC0011029Msr
impl UnwindSafe for AmdC0011029Msr
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)