vortex_array::variants

Trait ExtensionArrayTrait

Source
pub trait ExtensionArrayTrait: ArrayTrait {
    // Required method
    fn storage_data(&self) -> ArrayData;

    // Provided method
    fn ext_dtype(&self) -> &Arc<ExtDType> { ... }
}

Required Methods§

Source

fn storage_data(&self) -> ArrayData

Returns the underlying ArrayData, without the ExtDType.

Provided Methods§

Source

fn ext_dtype(&self) -> &Arc<ExtDType>

Returns the extension logical DType.

Implementors§