pub enum Expr {
Empty,
Any {
newline: bool,
},
StartText,
EndText,
StartLine,
EndLine,
Literal {
val: String,
casei: bool,
},
Concat(Vec<Expr>),
Alt(Vec<Expr>),
Group(Box<Expr>),
LookAround(Box<Expr>, LookAround),
Repeat {
child: Box<Expr>,
lo: usize,
hi: usize,
greedy: bool,
},
Delegate {
inner: String,
size: usize,
},
Backref(usize),
}Variants
EmptyAnyFields of Any
StartTextEndTextStartLineEndLineLiteralFields of Literal
Concat(Vec<Expr>)Alt(Vec<Expr>)Group(Box<Expr>)LookAround(Box<Expr>, LookAround)RepeatFields of Repeat
DelegateFields of Delegate
Backref(usize)Methods
Trait Implementations
Formats the value using the given formatter.
fn eq(&self, __arg_0: &Expr) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Expr) -> bool
This method tests for !=.