pub trait AttributeFilter: Send + Sync {
// Required method
fn filter<'a>(&self, _: &str, _: &str, _: &'a str) -> Option<Cow<'a, str>>;
}Expand description
Types that implement this trait can be used to remove or rewrite arbitrary attributes.
See attribute_filter for more details.
Required Methods§
Trait Implementations§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".