Skip to main content

TagPattern

Trait TagPattern 

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

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

Required Methods§

Source

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

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.

Implementors§