Trait rocket::http::ext::IntoCollection [−][src]
pub trait IntoCollection<T> {
fn into_collection<A>(self) -> SmallVec<A>
where
A: Array<Item = T>;
}
Expand description
Trait implemented by types that can be converted into a collection.
Required methods
fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self
into a collection.