Trait ExtensionArrayTrait

Source
pub trait ExtensionArrayTrait: Deref<Target = Array> {
    // Required method
    fn storage_data(&self) -> Array;

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

Required Methods§

Source

fn storage_data(&self) -> Array

Returns the underlying Array, without the ExtDType.

Provided Methods§

Source

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

Returns the extension logical DType.

Implementors§