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