Trait rocket::http::ext::IntoCollection
pub trait IntoCollection<T>: Sized {
// Required method
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.
Object Safety§
This trait is not object safe.