pub trait UnionArrayIndex<T> { fn index(&self, type_id: i8, index: i32) -> T; }
Index trait for union arrays.