Struct aho_corasick::Sparse[][src]

pub struct Sparse(_);
[]

State transitions that are always sparse.

This can use enormous amounts of memory when there are many patterns, but matching is very fast.

Trait Implementations

impl Clone for Sparse
[src]
[+]

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

impl Debug for Sparse
[src]
[+]

[]

Formats the value using the given formatter. Read more

impl Transitions for Sparse
[src]
[+]

[]

Return a new state at the given depth.

[]

Return the next state index given the next character.

[]

Set the next state index for the character given.

[]

The memory use in bytes (on the heap) of this set of transitions.

Auto Trait Implementations

impl Send for Sparse

impl Sync for Sparse