DictKey

Trait DictKey 

Source
pub trait DictKey {
    type ArrowKey;

    // Required method
    fn data_type() -> DataType;
}
Expand description

Dictionary key mapping from Rust integer to Arrow key type.

Required Associated Types§

Source

type ArrowKey

Arrow key type corresponding to this Rust integer key.

Required Methods§

Source

fn data_type() -> DataType

The Arrow DataType for the key.

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 DictKey for i8

Source§

impl DictKey for i16

Source§

impl DictKey for i32

Source§

impl DictKey for i64

Source§

impl DictKey for u8

Source§

impl DictKey for u16

Source§

impl DictKey for u32

Source§

impl DictKey for u64

Implementors§