Skip to main content

first_ref

Function first_ref 

Source
pub fn first_ref<T>(items: &[T], when: fn(&T) -> bool) -> Option<&T>