OffsetPType

Trait OffsetPType 

Source
pub trait OffsetPType:
    NativePType
    + PrimInt
    + AsPrimitive<usize>
    + Into<Scalar> { }
Expand description

A trait bound for integer types that can represent offsets.

This is mainly used in the builders ListBuilder and ListViewBuilder.

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.

Implementors§

Source§

impl<T> OffsetPType for T

Implements OffsetPType for all possible T that have the correct bounds.