UnionArrayType

Trait UnionArrayType 

Source
pub trait UnionArrayType<const VARIANTS: usize>
where for<'a> i8: From<&'a Self>,
{ type Array<Buffer: BufferType, OffsetItem: Offset, UnionLayout: UnionType>; const VARIANTS: usize = VARIANTS; }
Expand description

Union array types.

Provided Associated Constants§

Source

const VARIANTS: usize = VARIANTS

The number of variants.

Required Associated Types§

Source

type Array<Buffer: BufferType, OffsetItem: Offset, UnionLayout: UnionType>

The array type storing the variants of the union array.

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§