pub fn contains(&self, name: &str) -> bool {
        if self.exclude.contains(name) {
            false
        } else {
            self.include.is_empty() || self.include.contains(name)
        }
    }
/// Whether the given name passes this filter or not.
Whether the given name passes this filter or not.
Whether the given name passes this filter or not .
pub fn contains(&self, name: &str) -> bool {
        if self.exclude.contains(name) {
            false
        } else {
            self.include.is_empty() || self.include.contains(name)
        }
    }
pub fn contains ( & self , name : & str ) -> bool { if self . exclude . contains ( name ) { false } else { self . include . is_empty ( ) || self . include . contains ( name ) } }
Whether the given name passes this filter or not.
Whether the given name passes this filter or not .
&self
name
&str
&self
name
&str