Trait ParseSlice
trait ParseSlice<R>
Used to integrate str's parse() method
Required Methods
fn parse_slice(self: &Self) -> Option<R>Succeeds if
parse()succeededThe byte slice implementation will first convert it to a
&str, then apply theparse()function
Implementors
impl<R: FromStr> ParseSlice for &[u8]impl<R: FromStr> ParseSlice for &str