Skip to main content

RunEndArrayExt

Trait RunEndArrayExt 

Source
pub trait RunEndArrayExt: TypedArrayRef<RunEnd> {
    // Provided methods
    fn offset(&self) -> usize { ... }
    fn dtype(&self) -> &DType { ... }
    fn find_physical_index(
        &self,
        index: usize,
        ctx: &mut ExecutionCtx,
    ) -> VortexResult<usize> { ... }
    fn find_slice_end_index(
        &self,
        index: usize,
        ctx: &mut ExecutionCtx,
    ) -> VortexResult<usize> { ... }
    fn find_physical_range(
        &self,
        range: Range<usize>,
        ctx: &mut ExecutionCtx,
    ) -> VortexResult<Range<usize>> { ... }
}

Provided Methods§

Source

fn offset(&self) -> usize

Source

fn dtype(&self) -> &DType

Source

fn find_physical_index( &self, index: usize, ctx: &mut ExecutionCtx, ) -> VortexResult<usize>

Source

fn find_slice_end_index( &self, index: usize, ctx: &mut ExecutionCtx, ) -> VortexResult<usize>

Source

fn find_physical_range( &self, range: Range<usize>, ctx: &mut ExecutionCtx, ) -> VortexResult<Range<usize>>

The physical range of runs covering the logical range, found with one probe of the ends.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§