Trait polars_core::utils::Container
source · pub trait Container: Clone {
// Required methods
fn slice(&self, offset: i64, len: usize) -> Self;
fn len(&self) -> usize;
fn iter_chunks(&self) -> impl Iterator<Item = Self>;
fn n_chunks(&self) -> usize;
fn chunk_lengths(&self) -> impl Iterator<Item = usize>;
}
Required Methods§
fn slice(&self, offset: i64, len: usize) -> Self
fn len(&self) -> usize
fn iter_chunks(&self) -> impl Iterator<Item = Self>
fn n_chunks(&self) -> usize
fn chunk_lengths(&self) -> impl Iterator<Item = usize>
Object Safety§
This trait is not object safe.