Module param_util

Source

Structs§

Argument
A resolved positional or named argument. Used by both value arguments and turbofishes. TypeLike is the target type for arguments, and () for turbofishes
ParameterListWrapper

Enums§

ArgumentError
ArgumentKind

Traits§

ParameterListLike

Functions§

match_args_with_params
Matches the arguments passed in an argument list with the parameters of a parameter list. If the arguments match (correct amount of positional arguments, or unique mapping of named arguments), the mapping from argument to parameter is returned as a vector in positional order (but with named argument targets included for better diagnostics)