Skip to main content

find

Function find 

Source
pub fn find<S: Slot<Vec<T>>, T: Clone>(
    vec: &S,
    test: impl FnMut(&T) -> bool,
) -> Option<T>