Searched refs:find_position (Results 1 – 2 of 2) sorted by relevance
278 assert_eq!(jt.find_position(|x| *x == 4), Some((1, 4))); in trait_pointers()
1604 fn find_position<P>(&mut self, mut pred: P) -> Option<(usize, Self::Item)> in find_position() method