intrusive_containers::define_list_element! [] [src]

macro_rules! define_list_element {
    ($elt:ident = $container:ty : $link:ident) => (
        declare_list_link!($link);
        declare_list_elt!($elt = $container : $link);
        impl_list_link!($link = $elt);
        impl_list_elt!($elt = $container : $link);
    );
    (pub $elt:ident = $container:ty : $link:ident) => (
        declare_list_link!($link);
        declare_list_elt!(pub $elt = $container : $link);
        impl_list_link!($link = $elt);
        impl_list_elt!($elt = $container : $link);
    );
}