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
InternalStartAnyChar(u8)EndGroup(Vec<Vec<(Token, Range)>>)OneOfFields of OneOf
invert: bool | |
list: Vec<Collation> |
StartWordEndWordStart
Trait Implementations
impl Clone for Token[src]
impl Clone for Tokenfn clone(&self) -> Token[src]
fn clone(&self) -> TokenReturns 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 PartialEq for Token[src]
impl PartialEq for Tokenfn eq(&self, other: &Token) -> bool[src]
fn eq(&self, other: &Token) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Token) -> bool[src]
fn ne(&self, other: &Token) -> boolThis method tests for !=.
impl Eq for Token[src]
impl Eq for Tokenimpl Debug for Token[src]
impl Debug for Token