Trait ToSmallVec
pub trait ToSmallVec<A: Array>
Convenience trait for constructing a SmallVec
Required Methods
fn to_smallvec(&self) -> SmallVec<A>Construct a new
SmallVecfrom a slice.
Implementors
impl<A: Array> ToSmallVec<A> for [A::Item] where A::Item: Copy,