[][src]Trait rocket_http::ext::IntoCollection

pub trait IntoCollection<T> {
    fn into_collection<A: Array<Item = T>>(self) -> SmallVec<A>;
}

Trait implemented by types that can be converted into a collection.

Required methods

fn into_collection<A: Array<Item = T>>(self) -> SmallVec<A>

Converts self into a collection.

Loading content...

Implementations on Foreign Types

impl<T> IntoCollection<T> for Vec<T>[src]

impl<'a, T: Clone> IntoCollection<T> for &'a [T][src]

impl<'a, T: Clone> IntoCollection<T> for &'a [T; 1][src]

impl<'a, T: Clone> IntoCollection<T> for &'a [T; 2][src]

impl<'a, T: Clone> IntoCollection<T> for &'a [T; 3][src]

impl<'a, T: Clone> IntoCollection<T> for &'a [T; 4][src]

impl<'a, T: Clone> IntoCollection<T> for &'a [T; 5][src]

impl<'a, T: Clone> IntoCollection<T> for &'a [T; 6][src]

impl<'a, T: Clone> IntoCollection<T> for &'a [T; 7][src]

impl<'a, T: Clone> IntoCollection<T> for &'a [T; 8][src]

impl<'a, T: Clone> IntoCollection<T> for &'a [T; 9][src]

impl<'a, T: Clone> IntoCollection<T> for &'a [T; 10][src]

Loading content...

Implementors

impl<T> IntoCollection<T> for T[src]

Loading content...