Skip to main content

VariantArraySlotsExt

Trait VariantArraySlotsExt 

Source
pub trait VariantArraySlotsExt: TypedArrayRef<Variant> {
    // Provided methods
    fn core_storage(&self) -> &ArrayRef { ... }
    fn shredded(&self) -> Option<&ArrayRef> { ... }
    fn slots_view(&self) -> VariantSlotsView<'_> { ... }
}
Expand description

Typed array accessors for Variant.

Provided Methods§

Source

fn core_storage(&self) -> &ArrayRef

Source

fn shredded(&self) -> Option<&ArrayRef>

Source

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

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§