pub struct LocalAPICFlags(/* private fields */);Expand description
§Local (S)APIC Flags
Implementations§
Source§impl LocalAPICFlags
impl LocalAPICFlags
Sourcepub const fn enabled(&self) -> bool
pub const fn enabled(&self) -> bool
If this bit is set the processor is ready for use. If this bit is clear and the Online Capable bit is set,
system hardware supports enabling this processor during OS runtime.
If this bit is clear and the Online Capable bit is also clear, this processor is unusable,
and OSPM shall ignore the contents of the Processor Local APIC Structure.
Sourcepub const fn online_capable(&self) -> bool
pub const fn online_capable(&self) -> bool
The information conveyed by this bit depends on the value of the Enabled bit. If the Enabled bit is set, this bit is reserved and must be zero. Otherwise, if this this bit is set, system hardware supports enabling this processor during OS runtime.
Trait Implementations§
Source§impl Clone for LocalAPICFlags
impl Clone for LocalAPICFlags
Source§fn clone(&self) -> LocalAPICFlags
fn clone(&self) -> LocalAPICFlags
Returns a duplicate 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 moreimpl Copy for LocalAPICFlags
Auto Trait Implementations§
impl Freeze for LocalAPICFlags
impl RefUnwindSafe for LocalAPICFlags
impl Send for LocalAPICFlags
impl Sync for LocalAPICFlags
impl Unpin for LocalAPICFlags
impl UnwindSafe for LocalAPICFlags
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