1
2
3
4
5
6
7
8
9
10
11
use vortex_array::variants::{PrimitiveArrayTrait, VariantsVTable};

use crate::{ALPRDArray, ALPRDEncoding};

impl VariantsVTable<ALPRDArray> for ALPRDEncoding {
    fn as_primitive_array<'a>(&self, array: &'a ALPRDArray) -> Option<&'a dyn PrimitiveArrayTrait> {
        Some(array)
    }
}

impl PrimitiveArrayTrait for ALPRDArray {}