[−][src]Struct autumn::combinators::StrCondition
The result of the str_condition
function in
the TextParserExt
trait
Trait Implementations
Auto Trait Implementations
impl<P, F, E> RefUnwindSafe for StrCondition<P, F, E> where
E: RefUnwindSafe,
F: RefUnwindSafe,
P: RefUnwindSafe,
E: RefUnwindSafe,
F: RefUnwindSafe,
P: RefUnwindSafe,
impl<P, F, E> Send for StrCondition<P, F, E> where
E: Send,
F: Send,
P: Send,
E: Send,
F: Send,
P: Send,
impl<P, F, E> Sync for StrCondition<P, F, E> where
E: Sync,
F: Sync,
P: Sync,
E: Sync,
F: Sync,
P: Sync,
impl<P, F, E> Unpin for StrCondition<P, F, E> where
E: Unpin,
F: Unpin,
P: Unpin,
E: Unpin,
F: Unpin,
P: Unpin,
impl<P, F, E> UnwindSafe for StrCondition<P, F, E> where
E: UnwindSafe,
F: UnwindSafe,
P: UnwindSafe,
E: UnwindSafe,
F: UnwindSafe,
P: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<'p, T, E, P> BoxedParserExt<'p, T, E> for P where
E: 'p,
P: 'p + Parser<T, E>,
T: 'p,
[src]
E: 'p,
P: 'p + Parser<T, E>,
T: 'p,
fn boxed(self) -> Boxed<dyn Parser<T, E> + 'p>
[src]
fn ref_parser(&'p self) -> Referenced<'p, Self, E>
[src]
impl<T, E, P> ConcatParserExt<T, E> for P where
P: Parser<T, E>,
T: Concat + Clone,
[src]
P: Parser<T, E>,
T: Concat + Clone,
fn multiple(self) -> Multiple<Self, E>
[src]
fn maybe(self) -> Maybe<Self, E>
[src]
fn and<P: Parser<T, E>>(self, other: P) -> And<Self, P, E>
[src]
fn repeated<R: RangeBounds<usize> + Clone>(
self,
repetitions: R
) -> Repeat<Self, R, E>
[src]
self,
repetitions: R
) -> Repeat<Self, R, E>
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, E, P> ParserExt<T, E> for P where
P: Parser<T, E>,
[src]
P: Parser<T, E>,
fn or<P: Parser<T, E>>(self, other: P) -> Or<Self, P, E>
[src]
fn map<V, F: Fn(T) -> V>(self, map: F) -> Map<Self, F, T, E>
[src]
fn and_then<V, Q: Parser<V, E>, F: Fn(T) -> Q>(
self,
map: F
) -> AndThen<Self, F, T, E>
[src]
self,
map: F
) -> AndThen<Self, F, T, E>
fn fold<P: Parser<T, E>, F: Fn(T) -> P>(self, fold: F) -> Fold<Self, F, E>
[src]
fn on_failure<P: Parser<T, E>>(self, other: P) -> OnFailure<Self, P, E>
[src]
fn on_none<P: Parser<T, E>>(self, other: P) -> OnNone<Self, P, E>
[src]
fn drop<V, P: Parser<V, E>>(self, other: P) -> Drop<Self, P, V, E>
[src]
fn maybe_drop<V, P: Parser<V, E>>(self, other: P) -> MaybeDrop<Self, P, V, E>
[src]
fn skip<V, P: Parser<V, E>>(self, keep: P) -> Skip<Self, P, T, E>
[src]
fn condition<F: Fn(&T) -> bool>(self, condition: F) -> Condition<Self, F, E>
[src]
fn end(self) -> End<Self, E>
[src]
fn catch(self) -> Catch<Self, E>
[src]
fn meta(self) -> MetaMap<Self, E>
[src]
fn to_list(self) -> ListMap<Self, E>
[src]
fn delimited_by<D, P: Parser<D, E>, R: RangeBounds<usize>>(
self,
delimiter: P,
repetitions: R
) -> DelimitedBy<Self, P, D, R, E>
[src]
self,
delimiter: P,
repetitions: R
) -> DelimitedBy<Self, P, D, R, E>
fn strictly_delimited_by<D, P: Parser<D, E>, R: RangeBounds<usize>>(
self,
delimiter: P,
repetitions: R
) -> StrictlyDelimitedBy<Self, P, D, R, E>
[src]
self,
delimiter: P,
repetitions: R
) -> StrictlyDelimitedBy<Self, P, D, R, E>
fn surrounded_by<O: Clone, C: Clone, OP: Parser<O, E>, CP: Parser<C, E>>(
self,
open: OP,
close: CP
) -> SurroundedBy<Self, OP, CP, O, C, E>
[src]
self,
open: OP,
close: CP
) -> SurroundedBy<Self, OP, CP, O, C, E>
fn pair<B, P: Parser<B, E>>(self, other: P) -> Pair<Self, P, E>
[src]
fn space_after(self) -> SpaceAfter<Self, E>
[src]
fn maybe_space_after(self) -> MaybeSpaceAfter<Self, E>
[src]
fn space_before(self) -> SpaceBefore<Self, E>
[src]
fn maybe_space_before(self) -> MaybeSpaceBefore<Self, E>
[src]
fn space_around(self) -> SpaceAround<Self, E>
[src]
fn maybe_space_around(self) -> MaybeSpaceAround<Self, E>
[src]
impl<E, P> TextParserExt<E> for P where
P: Parser<Span, E>,
[src]
P: Parser<Span, E>,
fn copy_string(self) -> StringMap<Self, E>
[src]
fn str_condition<F: Fn(&str) -> bool>(self, f: F) -> StrCondition<Self, F, E>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,