W3cubDocs

/Rust

Module std::str::pattern

🔬 This is a nightly-only experimental API. (pattern #27721)API not fully fleshed out and ready to be stabilized

The string Pattern API.

For more details, see the traits Pattern, Searcher, ReverseSearcher and DoubleEndedSearcher.

Structs

CharPredicateSearcher [
Experimental
]

Associated type for <F as Pattern<'a>>::Searcher.

CharSearcher [
Experimental
]

Associated type for <char as Pattern<'a>>::Searcher.

CharSliceSearcher [
Experimental
]

Associated type for <&[char] as Pattern<'a>>::Searcher.

StrSearcher [
Experimental
]

Associated type for <&str as Pattern<'a>>::Searcher.

Enums

SearchStep [
Experimental
]

Result of calling Searcher::next() or ReverseSearcher::next_back().

Traits

DoubleEndedSearcher [
Experimental
]

A marker trait to express that a ReverseSearcher can be used for a DoubleEndedIterator implementation.

Pattern [
Experimental
]

A string pattern.

ReverseSearcher [
Experimental
]

A reverse searcher for a string pattern.

Searcher [
Experimental
]

A searcher for a string pattern.

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/str/pattern/index.html