Crate macros

source ·
Expand description

Crate for all kernel procedural macros.

Macros

Attribute Macros

  • Used to specify the pinning information of the fields of a struct.
  • Used to implement PinnedDrop safely.
  • Declares or implements a vtable trait.

Derive Macros

This documentation is an old archive. Please see https://rust.docs.kernel.org instead.