pub enum RegexBackend {
Fast,
Fancy,
}Expand description
Regex backend used for pattern compilation.
Variants§
Fast
Native Rust regex crate (fast, no look-around/backreferences).
Fancy
fancy_regex crate (Perl/Python-like features: look-around, backtracking).
Trait Implementations§
Source§impl Clone for RegexBackend
impl Clone for RegexBackend
Source§fn clone(&self) -> RegexBackend
fn clone(&self) -> RegexBackend
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RegexBackend
Source§impl Debug for RegexBackend
impl Debug for RegexBackend
Source§impl Display for RegexBackend
impl Display for RegexBackend
impl Eq for RegexBackend
Source§impl Hash for RegexBackend
impl Hash for RegexBackend
Source§impl PartialEq for RegexBackend
impl PartialEq for RegexBackend
impl StructuralPartialEq for RegexBackend
Auto Trait Implementations§
impl Freeze for RegexBackend
impl RefUnwindSafe for RegexBackend
impl Send for RegexBackend
impl Sync for RegexBackend
impl Unpin for RegexBackend
impl UnsafeUnpin for RegexBackend
impl UnwindSafe for RegexBackend
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.