Trait polars_utils::vec::ConvertVec

source ·
pub trait ConvertVec<Out> {
    type ItemIn;

    // Required methods
    fn convert_owned<F: FnMut(Self::ItemIn) -> Out>(self, f: F) -> Vec<Out>;
    fn convert<F: FnMut(&Self::ItemIn) -> Out>(&self, f: F) -> Vec<Out>;
}

Required Associated Types§

Required Methods§

source

fn convert_owned<F: FnMut(Self::ItemIn) -> Out>(self, f: F) -> Vec<Out>

source

fn convert<F: FnMut(&Self::ItemIn) -> Out>(&self, f: F) -> Vec<Out>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T, Out> ConvertVec<Out> for Vec<T>

§

type ItemIn = T

source§

fn convert_owned<F: FnMut(Self::ItemIn) -> Out>(self, f: F) -> Vec<Out>

source§

fn convert<F: FnMut(&Self::ItemIn) -> Out>(&self, f: F) -> Vec<Out>

Implementors§