Lines Matching refs:twoway
442 /// Substring search from the twoway crate.
444 /// twoway uses, obviously, Two-Way as an implementation. AIUI, it was taken
451 pub(crate) mod twoway {
458 twoway::find_bytes(haystack.as_bytes(), needle.as_bytes())
465 |_| unimplemented!("twoway does not support prebuilt searches")
475 twoway::find_bytes,
480 super::super::NoIter { imp: "twoway" }
486 twoway::rfind_bytes(haystack.as_bytes(), needle.as_bytes())
493 |_| unimplemented!("twoway does not support prebuilt searches")
503 twoway::rfind_bytes,
508 super::super::NoIter { imp: "twoway" }