Skip to main content

WavlTreeContainable

Derive Macro WavlTreeContainable 

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

Derive macro to implement WavlTreeContainable for a struct.

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