Function memchr::memchr2_iter
source · pub fn memchr2_iter<'h>(
needle1: u8,
needle2: u8,
haystack: &'h [u8]
) -> Memchr2<'h> ⓘ
Expand description
Returns an iterator over all occurrences of the needles in a haystack.
The iterator returned implements DoubleEndedIterator
. This means it
can also be used to find occurrences in reverse order.