Skip to main content

classify

Function classify 

Source
pub(crate) fn classify(stmt: &Stmt, scope: &Scope, relaxed: bool) -> Class
Expand description

Classify one statement.

relaxed admits bindings of non-pure, non-awaited values as movable (not effects); it is used for a loop iteration’s leading statements, which the caller confines to per-iteration data.