Skip to main content

s7_dispatch_args

Function s7_dispatch_args 

Source
pub(crate) fn s7_dispatch_args(
    method: &ParsedMethod,
    target: &S7GenericTarget,
) -> Vec<String>
Expand description

The S7 dispatch arguments of an instance method: s7(dispatch = "a, b"), else the pair an operator generic fixes (e1, e2), else x.

The first argument names the receiver; the others are the method’s leading parameters (validated by check_s7_dispatch).