Struct regex::backtrack::Bounded[][src]

pub struct Bounded<'a, 'm, 'r, 's, I> {
    prog: &'r Program,
    input: I,
    matches: &'m mut [bool],
    slots: &'s mut [Option<usize>],
    m: &'a mut Cache,
}

A backtracking matching engine.

Fields

Methods

impl<'a, 'm, 'r, 's, I: Input> Bounded<'a, 'm, 'r, 's, I>
[src]

Execute the backtracking matching engine.

If there's a match, exec returns true and populates the given captures accordingly.

Clears the cache such that the backtracking engine can be executed on some input of fixed length.

Start backtracking at the given position in the input, but also look for literal prefixes.

The main backtracking loop starting at the given input position.

Trait Implementations

impl<'a, 'm, 'r, 's, I: Debug> Debug for Bounded<'a, 'm, 'r, 's, I>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a, 'm, 'r, 's, I> Send for Bounded<'a, 'm, 'r, 's, I> where
    I: Send

impl<'a, 'm, 'r, 's, I> Sync for Bounded<'a, 'm, 'r, 's, I> where
    I: Sync