Trait TryIntoElementwise

Source
pub trait TryIntoElementwise<A, B: TryInto<A, Error = E>, E>: IntoIterator {
    // Required method
    fn try_into_elementwise(self) -> Result<Vec<A>, E>;
}

Required Methods§

Source

fn try_into_elementwise(self) -> Result<Vec<A>, E>

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

Implementors§

Source§

impl<A, B, E, I> TryIntoElementwise<A, B, E> for I
where B: TryInto<A, Error = E>, I: IntoIterator<Item = B>,