Skip to main content

Recyclable

Derive Macro Recyclable 

Source
#[derive(Recyclable)]
Expand description

Derive macro to implement Recyclable for a struct using kalloc::Box.

This assumes the object was allocated using kalloc::Box (e.g., via UniquePtr::try_new).