dot

Type Alias Nodes

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

Aliased Type§

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

Variants§

§1.0.0

Borrowed(&'a [N])

Borrowed data.

§1.0.0

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

Owned data.