pub struct AnyRef<T, B: AccelBackend> { /* private fields */ }Expand description
Marker struct so portable code can reference an
“abstract AccelRef<T>” without committing to a backend.
Concrete backends usually expose their own typedef
(e.g. atomr_accel_cuda::GpuRef<T>).
Auto Trait Implementations§
impl<T, B> Freeze for AnyRef<T, B>
impl<T, B> RefUnwindSafe for AnyRef<T, B>where
T: RefUnwindSafe,
B: RefUnwindSafe,
impl<T, B> Send for AnyRef<T, B>where
T: Send,
impl<T, B> Sync for AnyRef<T, B>where
T: Sync,
impl<T, B> Unpin for AnyRef<T, B>
impl<T, B> UnsafeUnpin for AnyRef<T, B>
impl<T, B> UnwindSafe for AnyRef<T, B>where
T: UnwindSafe,
B: UnwindSafe,
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