Module hay

Module hay 

Source

Traitsยง

Haystack
A trait used to interface the haystack types use when matching of capturing against a Regex, including tracking progression and slicing captures.
HaystackOf
This trait is exactly the same as Haystack, except that it simplifies bounds by requiring that Item = I.
IntoHaystack
A trait that is responsible for converting a slice into a stateful Haystack, of type H. The primary intent of this trait is to allow users to avoid creating their own Haystack, instead passing a slice to methods on Regex.