Trait ToSmallVec
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> ⓘ
fn to_smallvec(&self) -> SmallVec<A> ⓘ
Construct a new SmallVec from a slice.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".