// checks if a given symbol should be added to the debuginfo results
// if there is a symbol filter, we add that symbol
// if there is no symbol filter, we do not collect symbols
checks if a given symbol should be added to the debuginfo results
if there is a symbol filter, we add that symbol
if there is no symbol filter, we do not collect symbols
checks if a given symbol should be added to the debuginfo results if there is a symbol filter we add that symbol if there is no symbol filter we do not collect symbols
fn allowed_by_sym_filter(&self, name: &'i str) -> bool {
        let filter = &self.options.filter;
        match filter {
            Filter::SymbolRegex(r) => r.is_match(name),
            Filter::SymbolList(set) => set.get(name).is_some(),
            _ => false,
        }
    }
fn allowed_by_sym_filter ( & self , name : & ' i str ) -> bool { let filter = & self . options . filter ; match filter { Filter :: SymbolRegex ( r ) => r . is_match ( name ) , Filter :: SymbolList ( set ) => set . get ( name ) . is_some ( ) , _ => false , } }
checks if a given symbol should be added to the debuginfo results
if there is a symbol filter, we add that symbol
if there is no symbol filter, we do not collect symbols
checks if a given symbol should be added to the debuginfo results if there is a symbol filter we add that symbol if there is no symbol filter we do not collect symbols
&self
name
&'i str