Module rayon::str

source ·
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], and any function or closure F: Fn(char) -> bool + Sync + Send.

Structs

Parallel iterator over the bytes of a string
Parallel iterator over the characters of a string, with their positions
Parallel iterator over the characters of a string
Parallel iterator over a string encoded as UTF-16
Parallel iterator over lines in a string
Parallel iterator over substrings that match a pattern, with their positions
Parallel iterator over substrings that match a pattern
Parallel iterator over substrings separated by a pattern
Parallel iterator over substrings separated by a terminator pattern
Parallel iterator over substrings separated by whitespace

Traits

Parallel extensions for strings.