Trait fj_interop::ext::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§
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
Object Safety§
This trait is not object safe.