Type Alias rust_cuda::utils::async::CompletionFnMut

source ·
pub type CompletionFnMut<'a, T> = Box<dyn FnOnce(&mut T) -> CudaResult<()> + 'a>;
Available on crate feature host only.

Aliased Type§

struct CompletionFnMut<'a, T>(/* private fields */);

Trait Implementations§

source§

impl<'a, T: ?Sized + BorrowMut<B>, B: ?Sized> Completion<T> for CompletionFnMut<'a, B>

§

type Completed = B

source§

fn no_op() -> Self

source§

fn complete(self, completed: &mut Self::Completed) -> CudaResult<()>