find

Function find 

Source
pub fn find<T, F>(array: &[T], predicate: F) -> T
where T: Clone + Default, F: Fn(&T) -> bool,