polars_core::prelude

Trait NamedFrom

Source
pub trait NamedFrom<T, Phantom: ?Sized> {
    // Required method
    fn new(name: PlSmallStr, _: T) -> Self;
}

Required Methods§

Source

fn new(name: PlSmallStr, _: T) -> Self

Initialize by name and values.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl NamedFrom<&Series, str> for Series

Source§

impl NamedFrom<Range<i32>, Int32Type> for ChunkedArray<Int32Type>

Source§

impl NamedFrom<Range<i32>, Int32Type> for Series

Source§

impl NamedFrom<Range<i64>, Int64Type> for ChunkedArray<Int64Type>

Source§

impl NamedFrom<Range<i64>, Int64Type> for Series

Source§

impl NamedFrom<Range<u32>, UInt32Type> for ChunkedArray<UInt32Type>

Source§

impl NamedFrom<Range<u32>, UInt32Type> for Series

Source§

impl NamedFrom<Range<u64>, UInt64Type> for ChunkedArray<UInt64Type>

Source§

impl NamedFrom<Range<u64>, UInt64Type> for Series

Source§

impl<'a, T: AsRef<[&'a str]>> NamedFrom<T, [&'a str]> for Series

Source§

impl<'a, T: AsRef<[&'a str]>> NamedFrom<T, [&'a str]> for StringChunked

Source§

impl<'a, T: AsRef<[&'a [u8]]>> NamedFrom<T, [&'a [u8]]> for Series

Source§

impl<'a, T: AsRef<[&'a [u8]]>> NamedFrom<T, [&'a [u8]]> for BinaryChunked

Source§

impl<'a, T: AsRef<[AnyValue<'a>]>> NamedFrom<T, [AnyValue<'a>]> for Series

Source§

impl<'a, T: AsRef<[Cow<'a, str>]>> NamedFrom<T, [Cow<'a, str>]> for Series

Source§

impl<'a, T: AsRef<[Cow<'a, str>]>> NamedFrom<T, [Cow<'a, str>]> for StringChunked

Source§

impl<'a, T: AsRef<[Cow<'a, [u8]>]>> NamedFrom<T, [Cow<'a, [u8]>]> for Series

Source§

impl<'a, T: AsRef<[Cow<'a, [u8]>]>> NamedFrom<T, [Cow<'a, [u8]>]> for BinaryChunked

Source§

impl<'a, T: AsRef<[Option<&'a str>]>> NamedFrom<T, [Option<&'a str>]> for Series

Source§

impl<'a, T: AsRef<[Option<&'a str>]>> NamedFrom<T, [Option<&'a str>]> for StringChunked

Source§

impl<'a, T: AsRef<[Option<&'a [u8]>]>> NamedFrom<T, [Option<&'a [u8]>]> for Series

Source§

impl<'a, T: AsRef<[Option<&'a [u8]>]>> NamedFrom<T, [Option<&'a [u8]>]> for BinaryChunked

Source§

impl<'a, T: AsRef<[Option<Cow<'a, str>>]>> NamedFrom<T, [Option<Cow<'a, str>>]> for Series

Source§

impl<'a, T: AsRef<[Option<Cow<'a, str>>]>> NamedFrom<T, [Option<Cow<'a, str>>]> for StringChunked

Source§

impl<'a, T: AsRef<[Option<Cow<'a, [u8]>>]>> NamedFrom<T, [Option<Cow<'a, [u8]>>]> for Series

Source§

impl<'a, T: AsRef<[Option<Cow<'a, [u8]>>]>> NamedFrom<T, [Option<Cow<'a, [u8]>>]> for BinaryChunked

Source§

impl<T: PolarsObject> NamedFrom<&[T], &[T]> for ObjectChunked<T>

Available on crate feature object only.
Source§

impl<T: PolarsObject, S: AsRef<[Option<T>]>> NamedFrom<S, [Option<T>]> for ObjectChunked<T>

Available on crate feature object only.
Source§

impl<T: IntoSeries> NamedFrom<T, T> for Series

For any ChunkedArray and Series

Source§

impl<T: AsRef<[Option<bool>]>> NamedFrom<T, [Option<bool>]> for ChunkedArray<BooleanType>

Source§

impl<T: AsRef<[Option<bool>]>> NamedFrom<T, [Option<bool>]> for Series

Source§

impl<T: AsRef<[Option<f32>]>> NamedFrom<T, [Option<f32>]> for ChunkedArray<Float32Type>

Source§

impl<T: AsRef<[Option<f32>]>> NamedFrom<T, [Option<f32>]> for Series

Source§

impl<T: AsRef<[Option<f64>]>> NamedFrom<T, [Option<f64>]> for ChunkedArray<Float64Type>

Source§

impl<T: AsRef<[Option<f64>]>> NamedFrom<T, [Option<f64>]> for Series

Source§

impl<T: AsRef<[Option<i32>]>> NamedFrom<T, [Option<i32>]> for ChunkedArray<Int32Type>

Source§

impl<T: AsRef<[Option<i32>]>> NamedFrom<T, [Option<i32>]> for Series

Source§

impl<T: AsRef<[Option<i64>]>> NamedFrom<T, [Option<i64>]> for ChunkedArray<Int64Type>

Source§

impl<T: AsRef<[Option<i64>]>> NamedFrom<T, [Option<i64>]> for Series

Source§

impl<T: AsRef<[Option<i128>]>> NamedFrom<T, [Option<i128>]> for ChunkedArray<Int128Type>

Source§

impl<T: AsRef<[Option<i128>]>> NamedFrom<T, [Option<i128>]> for Series

Source§

impl<T: AsRef<[Option<u32>]>> NamedFrom<T, [Option<u32>]> for ChunkedArray<UInt32Type>

Source§

impl<T: AsRef<[Option<u32>]>> NamedFrom<T, [Option<u32>]> for Series

Source§

impl<T: AsRef<[Option<u64>]>> NamedFrom<T, [Option<u64>]> for ChunkedArray<UInt64Type>

Source§

impl<T: AsRef<[Option<u64>]>> NamedFrom<T, [Option<u64>]> for Series

Source§

impl<T: AsRef<[Option<Series>]>> NamedFrom<T, [Option<Series>]> for Series

Source§

impl<T: AsRef<[Option<String>]>> NamedFrom<T, [Option<String>]> for ChunkedArray<StringType>

Source§

impl<T: AsRef<[Option<String>]>> NamedFrom<T, [Option<String>]> for Series

Source§

impl<T: AsRef<[Option<Vec<u8>>]>> NamedFrom<T, [Option<Vec<u8>>]> for ChunkedArray<BinaryType>

Source§

impl<T: AsRef<[Option<Vec<u8>>]>> NamedFrom<T, [Option<Vec<u8>>]> for Series

Source§

impl<T: AsRef<[bool]>> NamedFrom<T, [bool]> for ChunkedArray<BooleanType>

Source§

impl<T: AsRef<[bool]>> NamedFrom<T, [bool]> for Series

Source§

impl<T: AsRef<[f32]>> NamedFrom<T, [f32]> for ChunkedArray<Float32Type>

Source§

impl<T: AsRef<[f32]>> NamedFrom<T, [f32]> for Series

Source§

impl<T: AsRef<[f64]>> NamedFrom<T, [f64]> for ChunkedArray<Float64Type>

Source§

impl<T: AsRef<[f64]>> NamedFrom<T, [f64]> for Series

Source§

impl<T: AsRef<[i32]>> NamedFrom<T, [i32]> for ChunkedArray<Int32Type>

Source§

impl<T: AsRef<[i32]>> NamedFrom<T, [i32]> for Series

Source§

impl<T: AsRef<[i64]>> NamedFrom<T, [i64]> for ChunkedArray<Int64Type>

Source§

impl<T: AsRef<[i64]>> NamedFrom<T, [i64]> for Series

Source§

impl<T: AsRef<[i128]>> NamedFrom<T, [i128]> for ChunkedArray<Int128Type>

Source§

impl<T: AsRef<[i128]>> NamedFrom<T, [i128]> for Series

Source§

impl<T: AsRef<[u32]>> NamedFrom<T, [u32]> for ChunkedArray<UInt32Type>

Source§

impl<T: AsRef<[u32]>> NamedFrom<T, [u32]> for Series

Source§

impl<T: AsRef<[u64]>> NamedFrom<T, [u64]> for ChunkedArray<UInt64Type>

Source§

impl<T: AsRef<[u64]>> NamedFrom<T, [u64]> for Series

Source§

impl<T: AsRef<[Series]>> NamedFrom<T, ListType> for Series

Source§

impl<T: AsRef<[String]>> NamedFrom<T, [String]> for ChunkedArray<StringType>

Source§

impl<T: AsRef<[String]>> NamedFrom<T, [String]> for Series

Source§

impl<T: AsRef<[Vec<u8>]>> NamedFrom<T, [Vec<u8>]> for ChunkedArray<BinaryType>

Source§

impl<T: AsRef<[Vec<u8>]>> NamedFrom<T, [Vec<u8>]> for Series