Skip to main content

StructArrayExt

Trait StructArrayExt 

Source
pub trait StructArrayExt: TypedArrayRef<Struct> {
    // Provided methods
    fn nullability(&self) -> Nullability { ... }
    fn names(&self) -> &FieldNames { ... }
    fn struct_validity(&self) -> Validity { ... }
    fn iter_unmasked_fields(&self) -> impl Iterator<Item = &ArrayRef> + '_ { ... }
    fn unmasked_fields(&self) -> Arc<[ArrayRef]> { ... }
    fn unmasked_field(&self, idx: usize) -> &ArrayRef { ... }
    fn unmasked_field_by_name_opt(
        &self,
        name: impl AsRef<str>,
    ) -> Option<&ArrayRef> { ... }
    fn unmasked_field_by_name(
        &self,
        name: impl AsRef<str>,
    ) -> VortexResult<&ArrayRef> { ... }
    fn struct_fields(&self) -> &StructFields { ... }
}

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§