polars_arrow::types

Trait Offset

Source
pub trait Offset: Sealed + Index {
    const IS_LARGE: bool;
}
Expand description

Sealed trait describing the subset (i32 and i64) of Index that can be used as offsets of variable-length Arrow arrays.

Required Associated Constants§

Source

const IS_LARGE: bool

Whether it is i32 (false) or i64 (true).

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.

Implementations on Foreign Types§

Source§

impl Offset for i32

Source§

const IS_LARGE: bool = false

Source§

impl Offset for i64

Source§

const IS_LARGE: bool = true

Implementors§