pub struct ExtendedApicId(/* private fields */);Expand description
The layout of EAX in EXTENDED_APIC_ID.
Implementations§
Source§impl ExtendedApicId
impl ExtendedApicId
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 ExtendedApicId[31:0].
Trait Implementations§
Source§impl Binary for ExtendedApicId
impl Binary for ExtendedApicId
Source§impl Clone for ExtendedApicId
impl Clone for ExtendedApicId
Source§fn clone(&self) -> ExtendedApicId
fn clone(&self) -> ExtendedApicId
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 ExtendedApicId
Source§impl Debug for ExtendedApicId
impl Debug for ExtendedApicId
Source§impl Default for ExtendedApicId
impl Default for ExtendedApicId
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 ExtendedApicId
Source§impl From<ExtendedApicId> for u32
impl From<ExtendedApicId> for u32
Source§fn from(value: ExtendedApicId) -> Self
fn from(value: ExtendedApicId) -> Self
Converts to this type from the input type.
Source§impl From<u32> for ExtendedApicId
impl From<u32> for ExtendedApicId
Source§impl IntoIterator for ExtendedApicId
impl IntoIterator for ExtendedApicId
Source§impl<'a> IntoIterator for &'a ExtendedApicId
impl<'a> IntoIterator for &'a ExtendedApicId
Source§impl LowerHex for ExtendedApicId
impl LowerHex for ExtendedApicId
Source§impl Octal for ExtendedApicId
impl Octal for ExtendedApicId
Source§impl PartialEq for ExtendedApicId
impl PartialEq for ExtendedApicId
impl StructuralPartialEq for ExtendedApicId
Auto Trait Implementations§
impl Freeze for ExtendedApicId
impl RefUnwindSafe for ExtendedApicId
impl Send for ExtendedApicId
impl Sync for ExtendedApicId
impl Unpin for ExtendedApicId
impl UnsafeUnpin for ExtendedApicId
impl UnwindSafe for ExtendedApicId
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)