fn parse_types(source: &str) -> (Option<Parameters<'_>>, Option<Parameters<'_>>)
Parses function input and output types into [Parameters].