Expand description
Context expander — turns hits into an emit plan, optionally including neighbors.
Structs§
- Emit
Owned - Owned form of
Emit— the expander hands these to the caller. - Line
Context - Emits each hit plus
nlines before and after, merging overlapping windows. - NoContext
- Emits only hits, nothing else.
Traits§
- Expander
- An expander consumes
(Line, MatchInfo)pairs and producesEmits.