pub struct SuffixAutomaton {
pub states: Vec<State>,
pub last: usize,
}Expand description
Suffix Automaton over a sequence of chars.
Fields§
§states: Vec<State>All states, indexed by id. State 0 is the initial state.
last: usizeId of the state representing the entire current string.
Implementations§
Source§impl SuffixAutomaton
impl SuffixAutomaton
Trait Implementations§
Source§impl Clone for SuffixAutomaton
impl Clone for SuffixAutomaton
Source§fn clone(&self) -> SuffixAutomaton
fn clone(&self) -> SuffixAutomaton
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SuffixAutomaton
impl Debug for SuffixAutomaton
Auto Trait Implementations§
impl Freeze for SuffixAutomaton
impl RefUnwindSafe for SuffixAutomaton
impl Send for SuffixAutomaton
impl Sync for SuffixAutomaton
impl Unpin for SuffixAutomaton
impl UnsafeUnpin for SuffixAutomaton
impl UnwindSafe for SuffixAutomaton
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more