Type Alias memchr::memmem::searcher::SearcherKindFn
source · type SearcherKindFn = unsafe fn(searcher: &Searcher, prestate: &mut PrefilterState, haystack: &[u8], needle: &[u8]) -> Option<usize>;
Expand description
The type of a substring search function.
§Safety
When using a function of this type, callers must ensure that the correct
function is paired with the value populated in SearcherKind
union.