1 2 3 4 5 6 7
use parse_display::FromStr; #[derive(FromStr)] #[from_str(regex = "(?P<>)")] struct TestStruct; fn main() {}