Struct aho_corasick::State [−][src]
Fields
out: Vec<usize>
fail: StateIdx
goto: T
depth: u32
Methods
impl<T: Transitions> State<T>
[src]
impl<T: Transitions> State<T>
fn new(depth: u32) -> State<T>
[src]
fn new(depth: u32) -> State<T>
fn goto(&self, b: u8) -> StateIdx
[src]
fn goto(&self, b: u8) -> StateIdx
fn set_goto(&mut self, b: u8, si: StateIdx)
[src]
fn set_goto(&mut self, b: u8, si: StateIdx)
fn heap_bytes(&self) -> usize
[src]
fn heap_bytes(&self) -> usize
impl<T: Transitions> State<T>
[src]
impl<T: Transitions> State<T>
Trait Implementations
impl<T: Clone> Clone for State<T>
[src]
impl<T: Clone> Clone for State<T>
fn clone(&self) -> State<T>
[src]
fn clone(&self) -> State<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<T: Transitions> Debug for State<T>
[src]
impl<T: Transitions> Debug for State<T>