intrusive_containers::declare_list_elt! [] [src]

macro_rules! declare_list_elt {
    ($elt:ident = $container:ty : $link:ident) => (
        #[derive(Clone, Default, Debug, Hash, Eq, PartialOrd, Ord, PartialEq)]
        struct $elt($crate::linked_list::NodeImpl<$container, $link>);
    );
    (pub $elt:ident = $container:ty : $link:ident) => (
        #[derive(Clone, Default, Debug, Hash, Eq, PartialOrd, Ord, PartialEq)]
        pub struct $elt($crate::linked_list::NodeImpl<$container, $link>);
    );
}