Skip to main content

SparseArraySlotsExt

Trait SparseArraySlotsExt 

Source
pub trait SparseArraySlotsExt: TypedArrayRef<Sparse> {
    // Provided methods
    fn patch_indices(&self) -> &ArrayRef { ... }
    fn patch_values(&self) -> &ArrayRef { ... }
    fn patch_chunk_offsets(&self) -> Option<&ArrayRef> { ... }
    fn slots_view(&self) -> SparseSlotsView<'_> { ... }
}
Expand description

Typed array accessors for Sparse.

Provided Methods§

Source

fn patch_indices(&self) -> &ArrayRef

Source

fn patch_values(&self) -> &ArrayRef

Source

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

Source

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

Returns a borrowed view of all slots.

Implementors§