Trait pattern_3::pattern::Pattern[][src]

pub trait Pattern<H: Haystack>: Sized where
    H::Target: Hay
{ type Searcher: Searcher<H::Target>; type Consumer: Consumer<H::Target>; fn into_searcher(self) -> Self::Searcher;
fn into_consumer(self) -> Self::Consumer; }

A pattern.

Associated Types

The searcher associated with this pattern.

The checker associated with this pattern.

Required Methods

Produces a searcher for this pattern.

Produces a checker for this pattern.

Implementations on Foreign Types

impl<'p, 'h, T> Pattern<&'h [T]> for &'p [T] where
    T: PartialEq + 'p, 
[src]

impl<'p, 'h, T> Pattern<&'h mut [T]> for &'p [T] where
    T: PartialEq + 'p, 
[src]

impl<'p, T> Pattern<Vec<T>> for &'p [T] where
    T: PartialEq + 'p, 
[src]

impl<'h> Pattern<&'h str> for char
[src]

impl<'h> Pattern<&'h mut str> for char
[src]

impl<'h, 'p> Pattern<&'h str> for &'p [char]
[src]

impl<'h, 'p> Pattern<&'h mut str> for &'p [char]
[src]

impl<'h, 'p> Pattern<&'h str> for &'p str
[src]

impl<'h, 'p> Pattern<&'h str> for &'p String
[src]

impl<'h, 'q, 'p> Pattern<&'h str> for &'q &'p str
[src]

impl<'h, 'p> Pattern<&'h mut str> for &'p str
[src]

impl<'h, 'p> Pattern<&'h mut str> for &'p String
[src]

impl<'h, 'q, 'p> Pattern<&'h mut str> for &'q &'p str
[src]

impl<'h, 'p> Pattern<&'h Wtf8> for &'p str
[src]

Implementors