[][src]Trait sexpy::Sexpy

pub trait Sexpy {
    fn sexp_parse<'a>(
        input: &'a str
    ) -> IResult<&'a str, Self, VerboseError<&'a str>>
    where
        Self: Sized
; fn parse(input: &str) -> Result<Self, String>
    where
        Self: Sized
, { ... } }

Required methods

fn sexp_parse<'a>(
    input: &'a str
) -> IResult<&'a str, Self, VerboseError<&'a str>> where
    Self: Sized

The core parsing function that should be defined for each trait.

Loading content...

Provided methods

fn parse(input: &str) -> Result<Self, String> where
    Self: Sized

Takes a string and tries calling the parser for this trait on it.

Loading content...

Implementations on Foreign Types

impl Sexpy for String[src]

impl Sexpy for u64[src]

impl<T: Sexpy> Sexpy for Option<T>[src]

impl<T: Sexpy> Sexpy for Vec<T>[src]

impl<T: Sexpy> Sexpy for Box<T>[src]

impl<T: Sexpy> Sexpy for Rc<T>[src]

Loading content...

Implementors

Loading content...