#[repr(u32)]pub enum RegexScope {
Name = 0,
Path = 1,
}Expand description
Which haystack a whole-query regex runs against
(FmfQueryOptions.regex_mode bit1; ADR-0023).
Variants§
Implementations§
Source§impl RegexScope
impl RegexScope
Sourcepub const fn from_u32(v: u32) -> RegexScope
pub const fn from_u32(v: u32) -> RegexScope
Decode a wire u32 into a RegexScope, defaulting unknown values to Name.
Trait Implementations§
Source§impl Clone for RegexScope
impl Clone for RegexScope
Source§fn clone(&self) -> RegexScope
fn clone(&self) -> RegexScope
Returns a duplicate 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 RegexScope
impl Debug for RegexScope
Source§impl Default for RegexScope
impl Default for RegexScope
Source§fn default() -> RegexScope
fn default() -> RegexScope
Returns the “default value” for a type. Read more
Source§impl PartialEq for RegexScope
impl PartialEq for RegexScope
impl Copy for RegexScope
impl Eq for RegexScope
impl StructuralPartialEq for RegexScope
Auto Trait Implementations§
impl Freeze for RegexScope
impl RefUnwindSafe for RegexScope
impl Send for RegexScope
impl Sync for RegexScope
impl Unpin for RegexScope
impl UnsafeUnpin for RegexScope
impl UnwindSafe for RegexScope
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more