Trait rocket_http::ext::IntoCollection [−][src]
pub trait IntoCollection<T>: Sized { 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>
[src]
fn into_collection<A: Array<Item = T>>(self) -> SmallVec<A>
[src]Converts self
into a collection.