Skip to main content

Filterable

Trait Filterable 

Source
pub trait Filterable {
    // Required method
    fn match_filter(&self, filter: &Filter) -> bool;

    // Provided method
    fn match_filters(&self, filters: &[Filter]) -> bool { ... }
}

Required Methods§

Source

fn match_filter(&self, filter: &Filter) -> bool

Provided Methods§

Source

fn match_filters(&self, filters: &[Filter]) -> bool

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§