Module rayon::str [] [src]

This module contains extension methods for String that expose parallel iterators, such as par_split_whitespace(). You will rarely need to interact with it directly, since if you add use rayon::prelude::* to your file, that will include the helper traits defined in this module.

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

Chars

Parallel iterator over the characters of a string

Lines

Parallel iterator over lines in a string

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.