Skip to main content

for_each_lhs_var

Function for_each_lhs_var 

Source
pub fn for_each_lhs_var(
    gcx: Gcx<'_>,
    expr: &Expr<'_>,
    f: &mut impl FnMut(VariableId),
)
Expand description

Calls f for each resolved variable at the root of an lvalue, peeling index/slice/member/payable/unary/delete wrappers and tuple destructuring.