Skip to main content

assigns_to

Function assigns_to 

Source
fn assigns_to(gcx: Gcx<'_>, expr: &Expr<'_>, var: VariableId) -> bool
Expand description

Whether an expression writes var: var = x, var += x, var++ or delete var, directly or as one component of a tuple.