Skip to main content

TagMatcher

Trait TagMatcher 

Source
pub trait TagMatcher {
    // Required method
    fn matches(&self, tag_name: &str) -> bool;
}
Expand description

Trait that determines whether given tag name matches some condition

Required Methods§

Source

fn matches(&self, tag_name: &str) -> bool

Does given tag_name match this matcher’s condition?

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§