SliceExt

Trait SliceExt 

Source
pub trait SliceExt<T> {
    // Required methods
    fn array_chunks_ext<const N: usize>(&self) -> ArrayChunks<'_, T, N> ;
    fn array_windows_ext<const N: usize>(&self) -> ArrayWindows<'_, T, N> ;
}
Expand description

Extension trait for arrays

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T> SliceExt<T> for &[T]

Source§

fn array_chunks_ext<const N: usize>(&self) -> ArrayChunks<'_, T, N>

Source§

fn array_windows_ext<const N: usize>(&self) -> ArrayWindows<'_, T, N>

Implementors§