Skip to main content

simple_state_var_id

Function simple_state_var_id 

Source
fn simple_state_var_id(hir: &Hir<'_>, expr: &Expr<'_>) -> Option<VariableId>
Expand description

Returns Some(id) if the expression is a bare state variable identifier (no indexing/member).