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§
Sourcefn array_chunks_ext<const N: usize>(&self) -> ArrayChunks<'_, T, N> ⓘ
fn array_chunks_ext<const N: usize>(&self) -> ArrayChunks<'_, T, N> ⓘ
Stable replacement for array_chunks
https://doc.rust-lang.org/std/primitive.slice.html#method.array_chunks
Sourcefn array_windows_ext<const N: usize>(&self) -> ArrayWindows<'_, T, N> ⓘ
fn array_windows_ext<const N: usize>(&self) -> ArrayWindows<'_, T, N> ⓘ
Stable replacement for array_windows
https://doc.rust-lang.org/std/primitive.slice.html#method.array_windows
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.