Expand description
ScrollingWindowPatternMatcher
A flexible, ergonomic pattern matcher for slices, arrays, and windows, supporting wildcards, custom logic, and builder patterns.
§Features
- Wildcard matching (
PatternElem::Any
) - Flexible matcher signatures: pass window and patterns as Vec, slice, or array, and patterns as owned or referenced
- Ergonomic builder patterns
- Custom matcher logic
- Flexible callback and overlap configuration
Structs§
- Pattern
- Pattern: a sequence of pattern elements, with optional callback and overlap/deduplication settings
- Pattern
Builder - Ergonomic builder for Pattern
- Pattern
Builder Erased - Builder for Pattern
- Scrolling
Window Pattern Matcher Ref - The main matcher struct
Enums§
- Pattern
Elem - Pattern element: matches a value, a predicate, or any value (wildcard)
Type Aliases§
- Slice
Callback - Type alias for a callback on a slice