Struct memmem::TwoWaySearcher
[−]
[src]
pub struct TwoWaySearcher<'a> { // some 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>
fn new<'b>(needle: &'b [u8]) -> TwoWaySearcher<'b>
Creates a new TwoWaySearcher
that can be used to search for needle
.