polars::prelude

Trait ChunkTakeUnchecked

Source
pub trait ChunkTakeUnchecked<Idx>
where Idx: ?Sized,
{ // Required method unsafe fn take_unchecked(&self, indices: &Idx) -> Self; }

Required Methods§

Source

unsafe fn take_unchecked(&self, indices: &Idx) -> Self

Gather values from ChunkedArray by index.

§Safety

The non-null indices must be valid.

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 ChunkTakeUnchecked<ChunkedArray<UInt32Type>> for ChunkedArray<BinaryType>

Source§

impl ChunkTakeUnchecked<ChunkedArray<UInt32Type>> for ChunkedArray<FixedSizeListType>

Available on crate feature dtype-array only.
Source§

impl ChunkTakeUnchecked<ChunkedArray<UInt32Type>> for ChunkedArray<ListType>

Source§

impl ChunkTakeUnchecked<ChunkedArray<UInt32Type>> for ChunkedArray<StringType>

Source§

impl ChunkTakeUnchecked<ChunkedArray<UInt32Type>> for ChunkedArray<StructType>

Available on crate feature dtype-struct only.
Source§

impl<I> ChunkTakeUnchecked<I> for ChunkedArray<BinaryType>
where I: AsRef<[u32]> + ?Sized,

Source§

impl<I> ChunkTakeUnchecked<I> for ChunkedArray<FixedSizeListType>
where I: AsRef<[u32]> + ?Sized,

Available on crate feature dtype-array only.
Source§

impl<I> ChunkTakeUnchecked<I> for ChunkedArray<ListType>
where I: AsRef<[u32]> + ?Sized,

Source§

impl<I> ChunkTakeUnchecked<I> for ChunkedArray<StringType>
where I: AsRef<[u32]> + ?Sized,

Source§

impl<I> ChunkTakeUnchecked<I> for ChunkedArray<StructType>
where I: AsRef<[u32]> + ?Sized,

Available on crate feature dtype-struct only.
Source§

impl<T> ChunkTakeUnchecked<ChunkedArray<UInt32Type>> for ChunkedArray<T>
where T: PolarsDataType<HasViews = FalseT, IsStruct = FalseT, IsNested = FalseT> + PolarsDataType,

Source§

impl<T, I> ChunkTakeUnchecked<I> for ChunkedArray<T>
where T: PolarsDataType<HasViews = FalseT, IsStruct = FalseT, IsNested = FalseT> + PolarsDataType, I: AsRef<[u32]> + ?Sized,