Type Alias Nodes

Source
pub type Nodes<'a, N> = Cow<'a, [N]>;

Aliased Type§

pub enum Nodes<'a, N> {
    Borrowed(&'a [N]),
    Owned(<[N] as ToOwned>::Owned),
}

Variants§

§

Borrowed(&'a [N])

Borrowed data.

§

Owned(<[N] as ToOwned>::Owned)

Owned data.

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.