Derive Macro nt_list::NtListElement
source · #[derive(NtListElement)]
{
// Attributes available to this derive:
#[boxed]
}
Expand description
Implements the NtListElement
and (optionally) NtBoxedListElement
traits for the given
element structure.
Technically, this macro traverses the structure and looks for NtListEntry
and NtSingleListEntry
fields.
For each entry, it takes its list type parameter L
and implements NtListElement
along with
the offset
trait function for it.
If an entry is marked with the #[boxed]
attribute, NtBoxedListElement
is also implemented for
the structure.