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
Empty
Any
Fields of Any
StartText
EndText
StartLine
EndLine
Literal
Fields of Literal
Concat(Vec<Expr>)
Alt(Vec<Expr>)
Group(Box<Expr>)
LookAround(Box<Expr>, LookAround)
Repeat
Fields of Repeat
Delegate
Fields 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 !=
.