pub struct CpuRuntime;Expand description
Host runtime for single-threaded and parallel CPU algorithms.
Trait Implementations§
Source§impl Clone for CpuRuntime
impl Clone for CpuRuntime
Source§fn clone(&self) -> CpuRuntime
fn clone(&self) -> CpuRuntime
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 moreSource§impl Debug for CpuRuntime
impl Debug for CpuRuntime
Source§impl Default for CpuRuntime
impl Default for CpuRuntime
Source§fn default() -> CpuRuntime
fn default() -> CpuRuntime
Returns the “default value” for a type. Read more
Source§impl Hash for CpuRuntime
impl Hash for CpuRuntime
Source§impl PartialEq for CpuRuntime
impl PartialEq for CpuRuntime
Source§fn eq(&self, other: &CpuRuntime) -> bool
fn eq(&self, other: &CpuRuntime) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl SpatialRuntime for CpuRuntime
impl SpatialRuntime for CpuRuntime
Source§fn device_kind(&self) -> DeviceKind
fn device_kind(&self) -> DeviceKind
Returns the device kind owned by this runtime.
Source§fn supports_policy(&self, policy: ExecutionPolicy) -> bool
fn supports_policy(&self, policy: ExecutionPolicy) -> bool
Returns whether this runtime can satisfy the requested policy.
impl Copy for CpuRuntime
impl Eq for CpuRuntime
impl StructuralPartialEq for CpuRuntime
Auto Trait Implementations§
impl Freeze for CpuRuntime
impl RefUnwindSafe for CpuRuntime
impl Send for CpuRuntime
impl Sync for CpuRuntime
impl Unpin for CpuRuntime
impl UnsafeUnpin for CpuRuntime
impl UnwindSafe for CpuRuntime
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