EmitScope

Type Alias EmitScope 

Source
pub type EmitScope = Arc<dyn Fn(Option<Captures<'_>>, &str, Option<Captures<'_>>) -> String + Send + Sync>;
Expand description

The type for your emit closure which will take the open tag capture, body, and close tag capture and output whatever you want. used with

Aliased Typeยง

pub struct EmitScope { /* private fields */ }