Skip to main content

argument_bound_to_parameter

Function argument_bound_to_parameter 

Source
fn argument_bound_to_parameter<'hir>(
    hir: &'hir Hir<'hir>,
    function_id: FunctionId,
    args: &'hir CallArgs<'hir>,
    index: usize,
) -> Option<&'hir Expr<'hir>>
Expand description

The argument a call binds to the callee’s parameter at index. Named arguments come in source order, which is not the parameter order: _mint({id: tokenId, to: to}) hands the token to to all the same.