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> { ... }
}
Required Methods§
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>
Object Safety§
This trait is not object safe.