Module str
Available on crate feature
trie
only.Expand description
Parallel iterator types for strings
You will rarely need to interact with this module directly unless you need to name one of the iterator types.
Note: ParallelString::par_split()
and par_split_terminator()
reference a Pattern
trait which is not visible outside this crate.
This trait is intentionally kept private, for use only by Rayon itself.
It is implemented for char
, &[char]
, [char; N]
, &[char; N]
,
and any function or closure F: Fn(char) -> bool + Sync + Send
.
Structs§
- Bytes
- Parallel iterator over the bytes of a string
- Char
Indices - Parallel iterator over the characters of a string, with their positions
- Chars
- Parallel iterator over the characters of a string
- Encode
Utf16 - Parallel iterator over a string encoded as UTF-16
- Lines
- Parallel iterator over lines in a string
- Match
Indices - Parallel iterator over substrings that match a pattern, with their positions
- Matches
- Parallel iterator over substrings that match a pattern
- Split
- Parallel iterator over substrings separated by a pattern
- Split
Ascii Whitespace - Parallel iterator over substrings separated by ASCII whitespace
- Split
Inclusive - Parallel iterator over substrings separated by a pattern
- Split
Terminator - Parallel iterator over substrings separated by a terminator pattern
- Split
Whitespace - Parallel iterator over substrings separated by whitespace
Traits§
- Parallel
String - Parallel extensions for strings.