Function memchr::memmem::searcher::prefilter_kind_fallback
source · unsafe fn prefilter_kind_fallback(
strat: &Prefilter,
haystack: &[u8],
) -> Option<usize>
Expand description
Reads from the fallback
field of PrefilterKind
to execute the fallback
prefilter. Works on all platforms.
§Safety
Callers must ensure that the strat.kind.fallback
union field is set.