Trait IntoVec

Source
pub trait IntoVec {
    type Item;

    // Required method
    fn into_vec(self) -> Vec<Self::Item>;
}

Required Associated Types§

Required Methods§

Source

fn into_vec(self) -> Vec<Self::Item>

Implementations on Foreign Types§

Source§

impl<A> IntoVec for Vec<A>

Source§

type Item = A

Source§

fn into_vec(self) -> Vec<Self::Item>

Source§

impl<A, const LEN: usize> IntoVec for [A; LEN]

Source§

type Item = A

Source§

fn into_vec(self) -> Vec<Self::Item>

Source§

impl<I> IntoVec for Cloned<I>
where Self: Iterator,

Source§

type Item = <Cloned<I> as Iterator>::Item

Source§

fn into_vec(self) -> Vec<Self::Item>

Source§

impl<I> IntoVec for Copied<I>
where Self: Iterator,

Source§

type Item = <Copied<I> as Iterator>::Item

Source§

fn into_vec(self) -> Vec<Self::Item>

Source§

impl<I> IntoVec for Take<I>
where Self: Iterator,

Source§

type Item = <Take<I> as Iterator>::Item

Source§

fn into_vec(self) -> Vec<Self::Item>

Source§

impl<I, F> IntoVec for Map<I, F>
where Self: Iterator,

Source§

type Item = <Map<I, F> as Iterator>::Item

Source§

fn into_vec(self) -> Vec<Self::Item>

Source§

impl<T> IntoVec for Range<T>
where Self: Iterator,

Source§

type Item = <Range<T> as Iterator>::Item

Source§

fn into_vec(self) -> Vec<Self::Item>

Implementors§