pub struct LocalApicSetBuilder { /* private fields */ }
Expand description
Builder for LocalApicSet
.
Implementations§
Source§impl LocalApicSetBuilder
impl LocalApicSetBuilder
Sourcepub fn x2apic_capable(&mut self, x2apic_capable: bool) -> &mut Self
pub fn x2apic_capable(&mut self, x2apic_capable: bool) -> &mut Self
Sets whether X2APIC mode is allowed.
Sourcepub fn hyperv_enlightenments(
&mut self,
hyperv_enlightenments: bool,
) -> &mut Self
pub fn hyperv_enlightenments( &mut self, hyperv_enlightenments: bool, ) -> &mut Self
Sets whether Hyper-V enlightenment MSRs are handled.
Sourcepub fn build(&self) -> LocalApicSet
pub fn build(&self) -> LocalApicSet
Builds a new local APIC set.
Auto Trait Implementations§
impl Freeze for LocalApicSetBuilder
impl RefUnwindSafe for LocalApicSetBuilder
impl Send for LocalApicSetBuilder
impl Sync for LocalApicSetBuilder
impl Unpin for LocalApicSetBuilder
impl UnwindSafe for LocalApicSetBuilder
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