scoped

Function scoped 

Source
pub fn scoped(g: Codegen, f: impl FnOnce()) -> Codegen