pub fn any(&self, rec: &mut BcfRec) -> bool {
        if (rec.unpacked as usize) & BCF_UN_FLT == 0 { rec.unpack(BCF_UN_FLT)}
        assert!(rec.d.n_flt >= 0);
        let n_flt = rec.d.n_flt as usize;
        if n_flt == 0 && self.hset.contains_key(&0) { true }
        else {
            let p = rec.d.flt;
            assert!(!p.is_null());
            unsafe { std::slice::from_raw_parts(p, n_flt) }
               .iter().any(|i| self.hset.contains_key(i))
        }
    }
// Check if any of the filters in FilterSet are present
Check if any of the filters in FilterSet are present
Check if any of the filters in FilterSet are present
pub fn any(&self, rec: &mut BcfRec) -> bool {
        if (rec.unpacked as usize) & BCF_UN_FLT == 0 { rec.unpack(BCF_UN_FLT)}
        assert!(rec.d.n_flt >= 0);
        let n_flt = rec.d.n_flt as usize;
        if n_flt == 0 && self.hset.contains_key(&0) { true }
        else {
            let p = rec.d.flt;
            assert!(!p.is_null());
            unsafe { std::slice::from_raw_parts(p, n_flt) }
               .iter().any(|i| self.hset.contains_key(i))
        }
    }
pub fn any ( & self , rec : & mut BcfRec ) -> bool { if ( rec . unpacked as usize ) & BCF_UN_FLT == 0 { rec . unpack ( BCF_UN_FLT ) } assert ! ( rec d n_flt 0 ) ; let n_flt = rec . d . n_flt as usize ; if n_flt == 0 && self . hset . contains_key ( & 0 ) { true } else { let p = rec . d . flt ; assert ! ( p is_null ( ) ) ; unsafe { std :: slice :: from_raw_parts ( p , n_flt ) } . iter ( ) . any ( | i | self . hset . contains_key ( i ) ) } }
Check if any of the filters in FilterSet are present
Check if any of the filters in FilterSet are present
&self
rec
&mut BcfRec