pub trait HasNestedDspfView: Sized {
    type Strings: ReconstructDspfView<Self>;

    // Required method
    fn flatten(&self) -> (Vec<Node>, Vec<NestedNode>);
}
Expand description

Indicates that a type has a nested DSPF view.

Required Associated Types§

source

type Strings: ReconstructDspfView<Self>

The node container type, where nodes are stored as strings.

Required Methods§

source

fn flatten(&self) -> (Vec<Node>, Vec<NestedNode>)

Flatten the container into a set of nodes and nested nodes.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl HasNestedDspfView for ()

Implementors§