Trait rayon::slice::chunk_by::ChunkBySlice
source · trait ChunkBySlice<T>: AsRef<[T]> + Default + Send {
// Required method
fn split(self, index: usize) -> (Self, Self);
// Provided methods
fn find(
&self,
pred: &impl Fn(&T, &T) -> bool,
start: usize,
end: usize
) -> Option<usize> { ... }
fn rfind(&self, pred: &impl Fn(&T, &T) -> bool, end: usize) -> Option<usize> { ... }
}