MCPcopy Create free account
hub / github.com/ashvardanian/StringZilla / Matcher

Interface Matcher

rust/stringzilla.rs:2433–2437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2431}
2432
2433pub trait Matcher<'a> {
2434 fn find(&self, haystack: &'a [u8]) -> Option<usize>;
2435 fn needle_length(&self) -> usize;
2436 fn skip_length(&self, include_overlaps: bool, is_reverse: bool) -> usize;
2437}
2438
2439pub enum MatcherType<'a> {
2440 Find(&'a [u8]),

Callers

nothing calls this directly

Implementers 1

stringzilla.rsrust/stringzilla.rs

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…