Skip to main content

def_ty_matches_arg_kind

Function def_ty_matches_arg_kind 

Source
fn def_ty_matches_arg_kind(def_ty: &str, kind: ArgKind) -> bool
Expand description

Whether a def parameter annotation matches a primitive argument role.