pub trait TakeChunked {
// Required methods
unsafe fn take_chunked_unchecked<const B: u64>(
&self,
by: &[ChunkId<B>],
sorted: IsSorted,
) -> Self;
unsafe fn take_opt_chunked_unchecked<const B: u64>(
&self,
by: &[ChunkId<B>],
) -> Self;
}
Available on crate feature
polars-ops
only.Expand description
Gather by ChunkId
Required Methods§
Sourceunsafe fn take_chunked_unchecked<const B: u64>(
&self,
by: &[ChunkId<B>],
sorted: IsSorted,
) -> Self
unsafe fn take_chunked_unchecked<const B: u64>( &self, by: &[ChunkId<B>], sorted: IsSorted, ) -> Self
§Safety
This function doesn’t do any bound checks.
Sourceunsafe fn take_opt_chunked_unchecked<const B: u64>(
&self,
by: &[ChunkId<B>],
) -> Self
unsafe fn take_opt_chunked_unchecked<const B: u64>( &self, by: &[ChunkId<B>], ) -> Self
§Safety
This function doesn’t do any bound checks.
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.