Macro kernel::impl_list_item
source · macro_rules! impl_list_item { ( $(impl$({$($generics:tt)*})? ListItem<$num:tt> for $t:ty { using ListLinks; })* ) => { ... }; ( $(impl$({$($generics:tt)*})? ListItem<$num:tt> for $t:ty { using ListLinksSelfPtr; })* ) => { ... }; }
Expand description
Implements the ListItem
trait for the given type.
Requires that the type implements HasListLinks
. Use the impl_has_list_links!
macro to
implement that trait.