Enum fancy_regex::LookAround
source · pub enum LookAround {
LookAhead,
LookAheadNeg,
LookBehind,
LookBehindNeg,
}
Expand description
Type of look-around assertion as used for a look-around expression.
Variants§
LookAhead
Look-ahead assertion, e.g. (?=a)
LookAheadNeg
Negative look-ahead assertion, e.g. (?!a)
LookBehind
Look-behind assertion, e.g. (?<=a)
LookBehindNeg
Negative look-behind assertion, e.g. (?<!a)
Trait Implementations§
source§impl Clone for LookAround
impl Clone for LookAround
source§fn clone(&self) -> LookAround
fn clone(&self) -> LookAround
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LookAround
impl Debug for LookAround
source§impl PartialEq<LookAround> for LookAround
impl PartialEq<LookAround> for LookAround
source§fn eq(&self, other: &LookAround) -> bool
fn eq(&self, other: &LookAround) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.