Enum posix_regex::compile::Token[][src]

pub enum Token {
    InternalStart,
    Any,
    Char(u8),
    End,
    Group(Vec<Vec<(Token, Range)>>),
    OneOf {
        invert: bool,
        list: Vec<Collation>,
    },
    Start,
    WordEnd,
    WordStart,
}

A single "compiled" token, such as a . or a character literal

Variants

Fields of OneOf

Trait Implementations

impl Clone for Token
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Token
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Token
[src]

impl Debug for Token
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Token

impl Sync for Token