pub struct ParseWildcardBuilder<'f1, S: State = Empty> { /* private fields */ }
Available on (crate features
syntax-glob
or syntax-ev
or syntax-regex
) and crate feature syntax-glob
only.Expand description
Use builder syntax to set the inputs and finish with call()
.
Implementations§
Source§impl<'f1, S: State> ParseWildcardBuilder<'f1, S>
impl<'f1, S: State> ParseWildcardBuilder<'f1, S>
Sourcepub fn call(self, pattern: &'f1 str) -> Hirwhere
S: IsComplete,
pub fn call(self, pattern: &'f1 str) -> Hirwhere
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn surrounding_wildcard_as_anchor(
self,
value: bool,
) -> ParseWildcardBuilder<'f1, SetSurroundingWildcardAsAnchor<S>>where
S::SurroundingWildcardAsAnchor: IsUnset,
pub fn surrounding_wildcard_as_anchor(
self,
value: bool,
) -> ParseWildcardBuilder<'f1, SetSurroundingWildcardAsAnchor<S>>where
S::SurroundingWildcardAsAnchor: IsUnset,
Sourcepub fn maybe_surrounding_wildcard_as_anchor(
self,
value: Option<bool>,
) -> ParseWildcardBuilder<'f1, SetSurroundingWildcardAsAnchor<S>>where
S::SurroundingWildcardAsAnchor: IsUnset,
pub fn maybe_surrounding_wildcard_as_anchor(
self,
value: Option<bool>,
) -> ParseWildcardBuilder<'f1, SetSurroundingWildcardAsAnchor<S>>where
S::SurroundingWildcardAsAnchor: IsUnset,
Auto Trait Implementations§
impl<'f1, S> Freeze for ParseWildcardBuilder<'f1, S>
impl<'f1, S> RefUnwindSafe for ParseWildcardBuilder<'f1, S>
impl<'f1, S> Send for ParseWildcardBuilder<'f1, S>
impl<'f1, S> Sync for ParseWildcardBuilder<'f1, S>
impl<'f1, S> Unpin for ParseWildcardBuilder<'f1, S>
impl<'f1, S> UnwindSafe for ParseWildcardBuilder<'f1, S>
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> 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