Trait polars_utils::slice::SliceAble

source ·
pub trait SliceAble {
    // Required methods
    unsafe fn slice_unchecked(&self, range: Range<usize>) -> Self;
    fn slice(&self, range: Range<usize>) -> Self;
}

Required Methods§

source

unsafe fn slice_unchecked(&self, range: Range<usize>) -> Self

§Safety

no bound checks.

source

fn slice(&self, range: Range<usize>) -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T> SliceAble for &[T]

source§

unsafe fn slice_unchecked(&self, range: Range<usize>) -> Self

source§

fn slice(&self, range: Range<usize>) -> Self

Implementors§