Function memchr::memchr_iter
source · [−]pub fn memchr_iter(needle: u8, haystack: &[u8]) -> Memchr<'_>ⓘNotable traits for Memchr<'a>impl<'a> Iterator for Memchr<'a> type Item = usize;
Expand description
An iterator over all occurrences of the needle in a haystack.