Trait byte_str::PrefixMatcher
[−]
[src]
pub trait PrefixMatcher: Matcher { fn is_prefix_of(&self, haystack: &ByteStr) -> bool; }
Required Methods
fn is_prefix_of(&self, haystack: &ByteStr) -> bool
Implementors
impl<'a> PrefixMatcher for StrMatcher<'a>
impl PrefixMatcher for ByteMatcher