Trait nom::ParseTo

source ·
pub trait ParseTo<R> {
    fn parse_to(&self) -> Option<R>;
}
Expand description

Used to integrate str’s parse() method

Required Methods§

Succeeds if parse() succeeded. The byte slice implementation will first convert it to a &str, then apply the parse() function

Implementations on Foreign Types§

Implementors§