Trait FindSimd

Source
pub trait FindSimd<'a, T>
where T: PartialEq,
{ // Required method fn find_simd<F>(&self, f: F) -> Option<&'a T> where F: Fn(&T) -> bool + 'a; }

Required Methods§

Source

fn find_simd<F>(&self, f: F) -> Option<&'a T>
where F: Fn(&T) -> bool + 'a,

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<'a, T> FindSimd<'a, T> for Iter<'a, T>
where T: PartialEq,

Source§

fn find_simd<F>(&self, f: F) -> Option<&'a T>
where F: Fn(&T) -> bool + 'a,

Implementors§