EmitSimple

Type Alias EmitSimple 

Source
pub type EmitSimple = Arc<dyn Fn(Captures<'_>) -> String + Send + Sync>;
Expand description

The type for your emit closure when you’re doing basic regex replacement with MatchType::Simple

Aliased Type§

pub struct EmitSimple { /* private fields */ }