pub struct CpuFeaturesBuilder { /* private fields */ }
Expand description
Builder for CpuFeatures
.
Implementations§
Source§impl CpuFeaturesBuilder
impl CpuFeaturesBuilder
pub fn amx(&mut self, value: bool) -> &mut Self
Sourcepub fn build(&self) -> Result<CpuFeatures, CpuFeaturesBuilderError>
pub fn build(&self) -> Result<CpuFeatures, CpuFeaturesBuilderError>
Trait Implementations§
Source§impl Clone for CpuFeaturesBuilder
impl Clone for CpuFeaturesBuilder
Source§fn clone(&self) -> CpuFeaturesBuilder
fn clone(&self) -> CpuFeaturesBuilder
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 moreAuto Trait Implementations§
impl Freeze for CpuFeaturesBuilder
impl RefUnwindSafe for CpuFeaturesBuilder
impl Send for CpuFeaturesBuilder
impl Sync for CpuFeaturesBuilder
impl Unpin for CpuFeaturesBuilder
impl UnwindSafe for CpuFeaturesBuilder
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