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

Modules

  • private 🔒
    We hide the Pattern trait in a private module, as its API is not meant for general consumption. If we could have privacy on trait items, then it would be nicer to have its basic existence and implementors public while keeping all of the methods private.

Macros

Structs

Traits

Functions