pub struct TopologyEnumerationD(/* private fields */);Expand description
The layout of EDX in topology enumeration leaves.
Implementations§
Source§impl TopologyEnumerationD
impl TopologyEnumerationD
Sourcepub const RSVD1_MASK: u32
pub const RSVD1_MASK: u32
Mask of all reserved-as-1 bits.
Sourcepub const RSVD0_MASK: u32
pub const RSVD0_MASK: u32
Mask of all reserved-as-0 bits.
Sourcepub const DEFAULT: u32
pub const DEFAULT: u32
The default value of the layout, combining all field defaults and reserved-as values.
Sourcepub const X2APIC_ID_MASK: u32
pub const X2APIC_ID_MASK: u32
Unshifted bitmask of x2apic_id.
Sourcepub const X2APIC_ID_SHIFT: usize = 0
pub const X2APIC_ID_SHIFT: usize = 0
Bit shift (i.e., the low bit) of x2apic_id.
Sourcepub const FIELDS: [FieldMetadata<u32>; 1]
pub const FIELDS: [FieldMetadata<u32>; 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) -> u32
Sourcepub const fn set_x2apic_id(&mut self, value: u32) -> &mut Self
pub const fn set_x2apic_id(&mut self, value: u32) -> &mut Self
Sets the value of TopologyEnumerationD[31:0].
Trait Implementations§
Source§impl Binary for TopologyEnumerationD
impl Binary for TopologyEnumerationD
Source§impl Clone for TopologyEnumerationD
impl Clone for TopologyEnumerationD
Source§fn clone(&self) -> TopologyEnumerationD
fn clone(&self) -> TopologyEnumerationD
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 TopologyEnumerationD
Source§impl Debug for TopologyEnumerationD
impl Debug for TopologyEnumerationD
Source§impl Default for TopologyEnumerationD
impl Default for TopologyEnumerationD
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 TopologyEnumerationD
Source§impl From<TopologyEnumerationD> for u32
impl From<TopologyEnumerationD> for u32
Source§fn from(value: TopologyEnumerationD) -> Self
fn from(value: TopologyEnumerationD) -> Self
Converts to this type from the input type.
Source§impl From<u32> for TopologyEnumerationD
impl From<u32> for TopologyEnumerationD
Source§impl IntoIterator for TopologyEnumerationD
impl IntoIterator for TopologyEnumerationD
Source§impl<'a> IntoIterator for &'a TopologyEnumerationD
impl<'a> IntoIterator for &'a TopologyEnumerationD
Source§impl LowerHex for TopologyEnumerationD
impl LowerHex for TopologyEnumerationD
Source§impl Octal for TopologyEnumerationD
impl Octal for TopologyEnumerationD
Source§impl PartialEq for TopologyEnumerationD
impl PartialEq for TopologyEnumerationD
impl StructuralPartialEq for TopologyEnumerationD
Auto Trait Implementations§
impl Freeze for TopologyEnumerationD
impl RefUnwindSafe for TopologyEnumerationD
impl Send for TopologyEnumerationD
impl Sync for TopologyEnumerationD
impl Unpin for TopologyEnumerationD
impl UnsafeUnpin for TopologyEnumerationD
impl UnwindSafe for TopologyEnumerationD
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)