vortex_array/arrays/struct_/vtable/
canonical.rs

1// SPDX-License-Identifier: Apache-2.0
2// SPDX-FileCopyrightText: Copyright the Vortex contributors
3
4use crate::Canonical;
5use crate::arrays::struct_::{StructArray, StructVTable};
6use crate::vtable::CanonicalVTable;
7
8impl CanonicalVTable<StructVTable> for StructVTable {
9    fn canonicalize(array: &StructArray) -> Canonical {
10        Canonical::Struct(array.clone())
11    }
12}