pub fn match_arg_from_sexp<T: MatchArg>(sexp: SEXP) -> Result<T, MatchArgError>Expand description
Extract a single string from an R SEXP and match it against a MatchArg type.
Used by the generated TryFromSexp for T implementation (single-value match.arg).