Trait ParseTo
Other items innom
pub trait ParseTo<R> { fn parse_to(&self) -> Option<R>; }
Used to integrate str’s parse() method
str
parse()
fn parse_to(&self) -> Option<R>
Succeeds if parse() succeeded. The byte slice implementation will first convert it to a &str, then apply the parse() function
&str
impl<'a, R: FromStr> ParseTo<R> for &'a [u8]
impl<'a, R: FromStr> ParseTo<R> for &'a str