Enum graphviz::maybe_owned_vec::MaybeOwnedVectorDeprecated
[-]
[+]
[src]
pub enum MaybeOwnedVector<'a, T: 'a> { Growable(Vec<T>), Borrowed(&'a [T]), }
MaybeOwnedVector<'a,T> abstracts over Vec<T>
, &'a [T]
.
Some clients will have a pre-allocated vector ready to hand off in
a slice; others will want to create the set on the fly and hand
off ownership, via Growable
.
Variants
Growable | |
Borrowed |