pub type EmitSimple = Arc<dyn Fn(Captures<'_>) -> String + Send + Sync>;
The type for your emit closure when you’re doing basic regex replacement with MatchType::Simple
MatchType::Simple
pub struct EmitSimple { /* private fields */ }