Struct regex::prog::InstRanges[][src]

pub struct InstRanges {
    pub goto: usize,
    pub ranges: Vec<(char, char)>,
}

Representation of the Ranges instruction.

Fields

The next location to execute in the program if this instruction succeeds.

The set of Unicode scalar value ranges to test.

Methods

impl InstRanges
[src]

Tests whether the given input character matches this instruction.

Return the number of distinct characters represented by all of the ranges.

Trait Implementations

impl Clone for InstRanges
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for InstRanges
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for InstRanges

impl Sync for InstRanges