Trait parsell::HasOutput
[−]
[src]
pub trait HasOutput<Ch, Str> { type Output; }
A trait for parsers which can infer their output type from their input types.
Associated Types
type Output
The type of the data being produced by the parser.
Implementors
impl<P, F, Ch, Str> HasOutput<Ch, Str> for Map<P, F> where P: HasOutput<Ch, Str>, F: Function<P::Output>
impl<P, F, Ch, Str> HasOutput<Ch, Str> for VariantMap<P, F> where P: HasOutput<Ch, Str>, F: Function<P::Output>
impl<P, Q, Ch, Str> HasOutput<Ch, Str> for AndThen<P, Q> where P: HasOutput<Ch, Str>, Q: HasOutput<Ch, Str>
impl<PState, Q, PStaticOutput, QState, Ch, Str> HasOutput<Ch, Str> for AndThenState<PState, Q, PStaticOutput, QState> where PState: HasOutput<Ch, Str>, Q: HasOutput<Ch, Str>
impl<P, Q, Ch, Str> HasOutput<Ch, Str> for OrElse<P, Q> where P: HasOutput<Ch, Str>
impl<P, Q, Ch, Str> HasOutput<Ch, Str> for OrElseState<P, Q> where P: HasOutput<Ch, Str>
impl<P, PState, T, Ch, Str> HasOutput<Ch, Str> for StarState<P, PState, T>
impl<P, F, Ch, Str> HasOutput<Ch, Str> for Plus<P, F> where F: Factory
impl<P, F, Ch, Str> HasOutput<Ch, Str> for Star<P, F> where F: Factory
impl<P, Ch, Str> HasOutput<Ch, Str> for Opt<P> where P: HasOutput<Ch, Str>
impl<P, Ch, Str> HasOutput<Ch, Str> for Discard<P>
impl<F, Ch, Str> HasOutput<Ch, Str> for Emit<F> where F: Factory
impl<Ch, Str> HasOutput<Ch, Str> for CharacterState
impl<F, Ch, Str> HasOutput<Ch, Str> for Character<F>
impl<F, Ch, Str> HasOutput<Ch, Str> for CharacterRef<F>
impl<Ch, Str> HasOutput<Ch, Str> for AnyCharacter where Str: Iterator<Item=Ch>
impl<'a, P> HasOutput<char, Chars<'a>> for Buffered<P>
impl<'a, P> HasOutput<char, Chars<'a>> for BufferedState<P> where P: HasOutput<char, Chars<'a>>
impl<P, Ch, Str> HasOutput<Ch, Str> for BoxableState<P> where P: HasOutput<Ch, Str>
impl<P, F, Ch, Str> HasOutput<Ch, Str> for Boxed<P, F> where P: HasOutput<Ch, Str>
impl<P, PState, Ch, Str> HasOutput<Ch, Str> for InState<P, PState> where P: HasOutput<Ch, Str>