Trait peel::parser::Parsable [] [src]

pub trait Parsable<D>: Display {
    fn parse<'a>(
        &mut self,
        input: &'a [u8],
        result: Option<&ParserResultVec>,
        data: Option<&mut D>
    ) -> IResult<&'a [u8], ParserResult>; }

The parsing trait

Required Methods

Parse using nom and return the result

Implementors