Skip to main content

InterleaveArraySlotsExt

Trait InterleaveArraySlotsExt 

Source
pub trait InterleaveArraySlotsExt<'a>: BorrowArraySlots<'a, Interleave> {
    // Provided methods
    fn array_indices(self) -> &'a ArrayRef { ... }
    fn row_indices(self) -> &'a ArrayRef { ... }
    fn values(self) -> SlotSlice<'a> { ... }
    fn slots_view(self) -> InterleaveSlotsView<'a> { ... }
}
Expand description

Typed slot accessors for Interleave arrays.

Implemented for &'a T where T: TypedArrayRef, and for ArrayView<'a, _>. The accessors take self by value and return references borrowed for 'a, so slots read from a temporary ArrayView outlive the view.

Provided Methods§

Source

fn array_indices(self) -> &'a ArrayRef

Returns the array_indices slot.

Source

fn row_indices(self) -> &'a ArrayRef

Returns the row_indices slot.

Source

fn values(self) -> SlotSlice<'a>

Returns the values slot.

Source

fn slots_view(self) -> InterleaveSlotsView<'a>

Returns a borrowed view of all slots.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§