Skip to main content

PatchedArrayExt

Trait PatchedArrayExt 

Source
pub trait PatchedArrayExt: PatchedArraySlotsExt {
    // Provided methods
    fn n_lanes(&self) -> usize { ... }
    fn offset(&self) -> usize { ... }
    fn lane_range(
        &self,
        chunk: usize,
        lane: usize,
        ctx: &mut ExecutionCtx,
    ) -> VortexResult<Range<usize>> { ... }
    fn slice_chunks(&self, chunks: Range<usize>) -> VortexResult<Array<Patched>> { ... }
}

Provided Methods§

Source

fn n_lanes(&self) -> usize

Source

fn offset(&self) -> usize

Source

fn lane_range( &self, chunk: usize, lane: usize, ctx: &mut ExecutionCtx, ) -> VortexResult<Range<usize>>

Source

fn slice_chunks(&self, chunks: Range<usize>) -> VortexResult<Array<Patched>>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§