polars_core::utils

Trait IntoVec

Source
pub trait IntoVec<T> {
    // Required method
    fn into_vec(self) -> Vec<T>;
}
Expand description

Convenience for x.into_iter().map(Into::into).collect() using an into_vec() function.

Required Methods§

Source

fn into_vec(self) -> Vec<T>

Implementors§

Source§

impl<I, S> IntoVec<PlSmallStr> for I
where I: IntoIterator<Item = S>, S: Into<PlSmallStr>,