polars_arrow::array::specification

Trait OffsetsContainer

Source
pub trait OffsetsContainer<O> {
    // Required methods
    fn last(&self) -> usize;
    fn as_slice(&self) -> &[O];
}
Expand description

Helper trait to support Offset and OffsetBuffer

Required Methods§

Source

fn last(&self) -> usize

Source

fn as_slice(&self) -> &[O]

Implementors§