pub trait ToSmallVec<A>where
    A: Array,{
    // Required method
    fn to_smallvec(&self) -> SmallVec<A>;
}
Expand description

Convenience trait for constructing a SmallVec

Required Methods§

fn to_smallvec(&self) -> SmallVec<A>

Construct a new SmallVec from a slice.

Implementations on Foreign Types§

§

impl<A> ToSmallVec<A> for [<A as Array>::Item]where A: Array, <A as Array>::Item: Copy,

§

fn to_smallvec(&self) -> SmallVec<A>

Implementors§