Struct regex::pikevm::Threads [−][src]
An ordered set of NFA states and their captures.
Fields
set: SparseSet
An ordered set of opcodes (each opcode is an NFA state).
caps: Vec<Option<usize>>
Captures for every NFA state.
It is stored in row-major order, where the columns are the capture slots and the rows are the states.
slots_per_thread: usize
The number of capture slots stored per thread. (Every capture has two slots.)
Methods
impl Threads
[src]
impl Threads
fn new() -> Self
[src]
fn new() -> Self
fn resize(&mut self, num_insts: usize, ncaps: usize)
[src]
fn resize(&mut self, num_insts: usize, ncaps: usize)
fn caps(&mut self, pc: usize) -> &mut [Option<usize>]
[src]
fn caps(&mut self, pc: usize) -> &mut [Option<usize>]
Trait Implementations
impl Clone for Threads
[src]
impl Clone for Threads
fn clone(&self) -> Threads
[src]
fn clone(&self) -> Threads
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 Debug for Threads
[src]
impl Debug for Threads