# Module core::str::pattern [−] [src]

Unstable (`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 | [Unstable] Associated type for `<F as Pattern<'a>>::Searcher`.
CharSearcher | [Unstable] Associated type for `<char as Pattern<'a>>::Searcher`.
CharSliceSearcher | [Unstable] Associated type for `<&[char] as Pattern<'a>>::Searcher`.
StrSearcher | [Unstable] Associated type for `<&str as Pattern<'a>>::Searcher`.

## Enums

SearchStep | [Unstable] Result of calling `Searcher::next()` or `ReverseSearcher::next_back()`.

## Traits

DoubleEndedSearcher | [Unstable] A marker trait to express that a `ReverseSearcher` can be used for a `DoubleEndedIterator` implementation.
Pattern | [Unstable] A string pattern.
ReverseSearcher | [Unstable] A reverse searcher for a string pattern.
Searcher | [Unstable] A searcher for a string pattern.

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)