Skip to main content

UnionArraySlotsExt

Trait UnionArraySlotsExt 

Source
pub trait UnionArraySlotsExt: TypedArrayRef<Union> {
    // Provided methods
    fn type_ids(&self) -> &ArrayRef { ... }
    fn children(&self) -> SlotSlice<'_> { ... }
    fn slots_view(&self) -> UnionSlotsView<'_> { ... }
}
Expand description

Typed array accessors for Union.

Provided Methods§

Source

fn type_ids(&self) -> &ArrayRef

Source

fn children(&self) -> SlotSlice<'_>

Source

fn slots_view(&self) -> UnionSlotsView<'_>

Returns a borrowed view of all slots.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§