Module rayon::str[][src]

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 and any F: Fn(char) -> bool + Sync + Send.

Structs

Bytes

Parallel iterator over the bytes of a string

CharIndices

Parallel iterator over the characters of a string, with their positions

Chars

Parallel iterator over the characters of a string

EncodeUtf16

Parallel iterator over a string encoded as UTF-16

Lines

Parallel iterator over lines in a string

MatchIndices

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

SplitTerminator

Parallel iterator over substrings separated by a terminator pattern

SplitWhitespace

Parallel iterator over substrings separated by whitespace

Traits

ParallelString

Parallel extensions for strings.