pub trait Capture<'a, S: HaystackSlice<'a>>: Debug {
// Required methods
fn whole_match_range(&self) -> Range<usize>;
fn whole_match(&self) -> S;
}pub trait Capture<'a, S: HaystackSlice<'a>>: Debug {
// Required methods
fn whole_match_range(&self) -> Range<usize>;
fn whole_match(&self) -> S;
}