Autogensym = autogensym, compile = compile, compile1 .
For window in words.collect::<Vec<_>>().windows(3) { let mut library = library! { #[clone] type LabeledIntCounterVec = Val<LabeledIntCounterVec>; #[clone] type TemplateEngine = Val<TemplateEngine>; #[clone] type Metrics = Val<Metrics>; impl Val<Metrics> { fn [<as_ $variant:lower>](g: Val<MapValue>) -> Val<MapValue> { Val(v.into()) } } .