pub enum DeviceBackend {
None,
}Expand description
A real device backend handle. When the cuda feature is enabled and a real
GPU is present this holds a live CUDA context; otherwise it is a no-op stub
and Device falls back to the simulated (host-backed) arena.
Variants§
None
Auto Trait Implementations§
impl Freeze for DeviceBackend
impl RefUnwindSafe for DeviceBackend
impl Send for DeviceBackend
impl Sync for DeviceBackend
impl Unpin for DeviceBackend
impl UnsafeUnpin for DeviceBackend
impl UnwindSafe for DeviceBackend
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