Trait IntoElementwise

Source
pub trait IntoElementwise<A, B: Into<A>>: IntoIterator {
    // Required method
    fn into_elementwise(self) -> Vec<A>;
}

Required Methods§

Source

fn into_elementwise(self) -> Vec<A>

Performs into on each element of the iterator and collects the results into a Vec.

Implementors§

Source§

impl<A, B, I> IntoElementwise<A, B> for I
where B: Into<A>, I: IntoIterator<Item = B>,