Crate scrolling_window_pattern_matcher

Source
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
PatternBuilder
Ergonomic builder for Pattern
PatternBuilderErased
Builder for Pattern
ScrollingWindowPatternMatcherRef
The main matcher struct

Enums§

PatternElem
Pattern element: matches a value, a predicate, or any value (wildcard)

Type Aliases§

SliceCallback
Type alias for a callback on a slice