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§

source

fn slice(&self, offset: i64, len: usize) -> Self

source

fn len(&self) -> usize

source

fn iter_chunks(&self) -> impl Iterator<Item = Self>

source

fn n_chunks(&self) -> usize

source

fn chunk_lengths(&self) -> impl Iterator<Item = usize>

Object Safety§

This trait is not object safe.

Implementors§