Enum regex::backtrack::Job[][src]

enum Job {
    Inst {
        ip: usize,
        at: InputAt,
    },
    SaveRestore {
        slot: usize,
        old_pos: Option<usize>,
    },
}

A job is an explicit unit of stack space in the backtracking engine.

The "normal" representation is a single state transition, which corresponds to an NFA state and a character in the input. However, the backtracking engine must keep track of old capture group values. We use the explicit stack to do it.

Variants

Fields of Inst

Fields of SaveRestore

Trait Implementations

impl Clone for Job
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Job
[src]

impl Debug for Job
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Job

impl Sync for Job