Struct parsell::impls::CharacterRef [] [src]

pub struct CharacterRef<F>(_);

Methods

impl<F> CharacterRef<F>
[src]

Trait Implementations

impl<F> Copy for CharacterRef<F> where
    F: Copy
[src]

impl<F> Clone for CharacterRef<F> where
    F: Copy
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<F> Debug for CharacterRef<F>
[src]

Formats the value using the given formatter.

impl<F> Parser for CharacterRef<F>
[src]

Choice between parsers

Sequencing with a committed parser

Sequencing with a committed parser (bubble any errors from this parser).

Sequencing with a committed parser (bubble any errors from that parser).

Sequencing with a committed parser (bubble any errors from either parser).

Iterate one or more times (returns an uncommitted parser).

Iterate zero or more times (returns a committed parser).

Apply a function to the result

Apply a 2-arguent function to the result

Apply a 3-arguent function to the result

Apply a 4-arguent function to the result

Apply a 5-arguent function to the result

Apply a 6-arguent function to the result

Apply a function to the result (bubble any errors).

Apply a 2-argument function to the result (bubble any errors).

Apply a 3-argument function to the result (bubble any errors).

Apply a 4-argument function to the result (bubble any errors).

Apply a 5-argument function to the result (bubble any errors).

Apply a 6-argument function to the result (bubble any errors).

Apply a by-reference function to the result

Apply a variant function to the result

Sequencing, discard the output of the first parse

Sequencing, discard the output of the second parse

Sequencing, discard the output of the first parse, bubble errors from the first parser

Sequencing, discard the output of the second parse, bubble errors from the second parser

Sequencing, discard the output of the first parse, bubble errors from either parser

Sequencing, discard the output of the second parse, bubble errors from either parser

Optional parse

Optional parse

Discard the output

Discard the output, bubbling errors

Box up this parser

Set the state of this parser

A parser which produces its input. Read more

impl<F, Ch, Str> HasOutput<Ch, Str> for CharacterRef<F>
[src]

The type of the data being produced by the parser.

impl<F, Ch, Str> Uncommitted<Ch, Str, Ch> for CharacterRef<F> where
    Str: PeekableIterator<Item = Ch>,
    F: Copy + for<'a> Function<&'a Ch, Output = bool>, 
[src]

Parse a string of data.