Struct regex::pikevm::Cache [−][src]
pub struct Cache {
clist: Threads,
nlist: Threads,
stack: Vec<FollowEpsilon>,
}A cached allocation that can be reused on each execution.
Fields
clist: Threads
A pair of ordered sets for tracking NFA states.
nlist: Threads
stack: Vec<FollowEpsilon>
An explicit stack used for following epsilon transitions.
Methods
impl Cache[src]
impl Cachepub fn new(_prog: &Program) -> Self[src]
pub fn new(_prog: &Program) -> SelfCreate a new allocation used by the NFA machine to record execution and captures.
Trait Implementations
impl Clone for Cache[src]
impl Clone for Cachefn clone(&self) -> Cache[src]
fn clone(&self) -> CacheReturns 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 Debug for Cache[src]
impl Debug for Cache