Struct aho_corasick::nfa::noncontiguous::QueuedSet
source · struct QueuedSet {
set: Option<BTreeSet<StateID>>,
}
Expand description
A set of state identifiers used to avoid revisiting the same state multiple times when filling in failure transitions.
This set has an “inert” and an “active” mode. When inert, the set never
stores anything and always returns false
for every member test. This is
useful to avoid the performance and memory overhead of maintaining this
set when it is not needed.
Fields§
§set: Option<BTreeSet<StateID>>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QueuedSet
impl RefUnwindSafe for QueuedSet
impl Send for QueuedSet
impl Sync for QueuedSet
impl Unpin for QueuedSet
impl UnwindSafe for QueuedSet
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