#[derive(Tree)]
{
// Attributes available to this derive:
#[tree]
}
Expand description
Derives Tree<B> for a struct with named fields whose first type
parameter is the backend B.
Fields are leaves or nested pytrees, in order. Fields marked
#[tree(static)] are not leaves: they are copied unchanged (configuration
such as sizes) and must implement Clone.