IntoParser

Trait IntoParser 

Source
pub trait IntoParser<'a, R> {
    // Required method
    fn into_parser(self) -> Parser<'a, R>;
}
Expand description

Performs a conversion for any type that can be converted into a Parser.

Required Methods§

Source

fn into_parser(self) -> Parser<'a, R>

Implementors§

Source§

impl<'a, R, P: Parse<'a, R> + 'a> IntoParser<'a, R> for P