pub struct CpuAcceleratorEngine { /* private fields */ }Expand description
CPU-specific accelerator engine
Implementations§
Source§impl CpuAcceleratorEngine
impl CpuAcceleratorEngine
pub fn new() -> Self
pub fn initialize_for_cpu( &mut self, cpu_info: &CpuDetectionResult, ) -> Result<(), Box<dyn Error>>
Trait Implementations§
Source§impl Clone for CpuAcceleratorEngine
impl Clone for CpuAcceleratorEngine
Source§fn clone(&self) -> CpuAcceleratorEngine
fn clone(&self) -> CpuAcceleratorEngine
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CpuAcceleratorEngine
impl RefUnwindSafe for CpuAcceleratorEngine
impl Send for CpuAcceleratorEngine
impl Sync for CpuAcceleratorEngine
impl Unpin for CpuAcceleratorEngine
impl UnsafeUnpin for CpuAcceleratorEngine
impl UnwindSafe for CpuAcceleratorEngine
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more