pub fn parse_to<F: FromStr>(s: impl AsRef<str>) -> Result<F, F::Err>
Parses a string slice into the specified type F.
F
#[derive(Valust)] struct Stringify { #[trans(func(String => try(parse_to::<i32>)))] num: i32, }