polars_core::chunked_array::ops

Trait ChunkTakeUnchecked

Source
pub trait ChunkTakeUnchecked<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§