ClosedSmallVec

Trait ClosedSmallVec 

Source
pub trait ClosedSmallVec {
    type Array: Array<Item = Self::Item>;
    type Item;

    // Required method
    fn as_small_vec(&self) -> &SmallVec<Self::Array>;
}
Available on crate feature smallvec only.

Required Associated Types§

Source

type Array: Array<Item = Self::Item>

Source

type Item

Required Methods§

Source

fn as_small_vec(&self) -> &SmallVec<Self::Array>

Implementations on Foreign Types§

Source§

impl<A> ClosedSmallVec for SmallVec<A>
where A: Array,

Source§

type Array = A

Source§

type Item = <A as Array>::Item

Source§

fn as_small_vec(&self) -> &SmallVec<Self::Array>

Implementors§

Source§

impl<A, T> ClosedSmallVec for SmallVec1<A>
where A: Array<Item = T>,

Source§

type Array = A

Source§

type Item = T