Skip to main content

TagPattern

Trait TagPattern 

Source
pub trait TagPattern {
    // Required method
    fn matches_pattern<M>(&self, matcher: &M) -> bool
       where M: TagMatcher;
}
Expand description

A type that can be used as pattern to be matched against a TagMatcher.

Required Methods§

Source

fn matches_pattern<M>(&self, matcher: &M) -> bool
where M: TagMatcher,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl TagPattern for (String, TagValue)

Source§

fn matches_pattern<M>(&self, matcher: &M) -> bool
where M: TagMatcher,

Implementors§