Trait smallvec::ToSmallVec
source · [−]pub trait ToSmallVec<A: Array> {
fn to_smallvec(&self) -> SmallVec<A>;
}
Expand description
Convenience trait for constructing a SmallVec
Required Methods
sourcefn to_smallvec(&self) -> SmallVec<A>
fn to_smallvec(&self) -> SmallVec<A>
Construct a new SmallVec
from a slice.