Trait memmem::Searcher [] [src]

pub trait Searcher {
    fn search_in(&self, haystack: &[u8]) -> Option<usize>;
}

A trait that searches for patterns in byte-strings.

Required Methods

Search for something in a byte-string. Returns the starting index of the match, if found.

Implementors