Skip to main content

eval_when

Function eval_when 

Source
pub fn eval_when(expr: &str, context: &HashMap<String, bool>) -> bool
Expand description

Evaluates a when clause: context keys combined with !, && and || (&& binds tighter). Unknown keys are false.