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ยง