Struct aho_corasick::AcAutomaton [] [src]

pub struct AcAutomaton {
    // some fields omitted
}

Methods

impl AcAutomaton
[src]

fn new<S, I>(pats: I) -> AcAutomaton where S: Into<String>, I: IntoIterator<Item=S>

fn len(&self) -> usize

fn is_empty(&self) -> bool

fn find<'a, 's>(&'a self, s: &'s str) -> Matches<'a, 's>

fn find_overlapping<'a, 's>(&'a self, s: &'s str) -> Matches<'a, 's>

fn pattern(&self, i: usize) -> &str

Trait Implementations

impl Clone for AcAutomaton
[src]

fn clone(&self) -> AcAutomaton

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

impl<S: Into<String>> FromIterator<S> for AcAutomaton
[src]

fn from_iter<T>(it: T) -> AcAutomaton where T: IntoIterator<Item=S>

Creates a value from an iterator. Read more

impl Debug for AcAutomaton
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.