Crate macros

Source
Expand description

Crate for all kernel procedural macros.

Macros§

concat_idents
Concatenate two identifiers.
module
Declares a kernel module.
paste
Paste identifiers together.

Attribute Macros§

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

Derive Macros§

Zeroable
Derives the Zeroable trait for the given struct.