Skip to main content

DoublyLinkedListContainable

Derive Macro DoublyLinkedListContainable 

Source
#[derive(DoublyLinkedListContainable)]
{
    // Attributes available to this derive:
    #[dll_node]
}
Expand description

Derive macro to implement DoublyLinkedListContainable for a struct.

Mark fields that are nodes with #[dll_node]. To support multiple lists, use #[dll_node(tag = MyTag)].