Struct memmem::TwoWaySearcher
[−]
[src]
pub struct TwoWaySearcher<'a> { /* fields omitted */ }
Searches for a substring using the "two-way" algorithm of Crochemore and Perrin, D.
This implementation is basically copied from rust's standard library.
Methods
impl<'a> TwoWaySearcher<'a>
[src]
fn new<'b>(needle: &'b [u8]) -> TwoWaySearcher<'b>
Creates a new TwoWaySearcher
that can be used to search for needle
.
Trait Implementations
impl<'a> Clone for TwoWaySearcher<'a>
[src]
fn clone(&self) -> TwoWaySearcher<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more