pub type SerialForKernelType<'a, const N: usize> = Box<dyn FnMut(KernelArgs<N>) + 'a>;
Expand description

Serial kernel type. Does not depend on enabled feature(s).

This is the minimal required trait implementation for closures passed to a for_each statement.

Aliased Type§

struct SerialForKernelType<'a, const N: usize>(/* private fields */);

Trait Implementations§

1.0.0 · source§

impl<T, A> Deref for Box<T, A>where A: Allocator, T: ?Sized,

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &T

Dereferences the value.