pub enum RegexpQueryFlags {
All,
Anystring,
Complement,
Empty,
Intersection,
Interval,
None,
}Expand description
Enum representing the different flags that can be used with a RegexpQuery
Variants§
All
Enables all optional features (default behavior)
Anystring
Allows @ to match any string
Complement
Matches the complement of the language described by the regex
Empty
Allows matching empty strings
Intersection
Enables intersection of multiple patterns
Interval
Enables interval arithmetic on character classes
None
Disables all optional features (default behavior)
Implementations§
Trait Implementations§
Source§impl Clone for RegexpQueryFlags
impl Clone for RegexpQueryFlags
Source§fn clone(&self) -> RegexpQueryFlags
fn clone(&self) -> RegexpQueryFlags
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 moreSource§impl Debug for RegexpQueryFlags
impl Debug for RegexpQueryFlags
Source§impl Default for RegexpQueryFlags
impl Default for RegexpQueryFlags
Source§fn default() -> RegexpQueryFlags
fn default() -> RegexpQueryFlags
Returns the “default value” for a type. Read more
Source§impl Display for RegexpQueryFlags
impl Display for RegexpQueryFlags
Auto Trait Implementations§
impl Freeze for RegexpQueryFlags
impl RefUnwindSafe for RegexpQueryFlags
impl Send for RegexpQueryFlags
impl Sync for RegexpQueryFlags
impl Unpin for RegexpQueryFlags
impl UnsafeUnpin for RegexpQueryFlags
impl UnwindSafe for RegexpQueryFlags
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