Trait MatchEmitter

Source
pub trait MatchEmitter<T = ()> {
    // Required method
    fn emit(&mut self, string_match: StringMatch) -> T;
}

Required Methods§

Source

fn emit(&mut self, string_match: StringMatch) -> T

Implementors§

Source§

impl<F, T> MatchEmitter<T> for F
where F: FnMut(StringMatch) -> T,