Trait peep::search::Search

source ·
pub trait Search {
    fn as_str(&self) -> &str;
    fn find(&self, text: &str) -> Option<Match>;
    fn find_iter(&self, text: &str) -> MatchIter ;
    fn set_pattern(&mut self, pat: &str) -> Result<()>;
}

Required Methods§

Implementors§