pub fn all(&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.mask == 1 }
        else {
            let p = rec.d.flt;
            assert!(!p.is_null());
            self.mask == unsafe { std::slice::from_raw_parts(p, n_flt) }
               .iter().fold(0, |m, i| if let Some(x) = self.hset.get(i) { m | x } else { m })
        }
    }
// Check if all of the filters in FilterSet are present
Check if all of the filters in FilterSet are present
Check if all of the filters in FilterSet are present
pub fn all(&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.mask == 1 }
        else {
            let p = rec.d.flt;
            assert!(!p.is_null());
            self.mask == unsafe { std::slice::from_raw_parts(p, n_flt) }
               .iter().fold(0, |m, i| if let Some(x) = self.hset.get(i) { m | x } else { m })
        }
    }
pub fn all ( & 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 . mask == 1 } else { let p = rec . d . flt ; assert ! ( p is_null ( ) ) ; self . mask == unsafe { std :: slice :: from_raw_parts ( p , n_flt ) } . iter ( ) . fold ( 0 , | m , i | if let Some ( x ) = self . hset . get ( i ) { m | x } else { m } ) } }
Check if all of the filters in FilterSet are present
Check if all of the filters in FilterSet are present
&self
rec
&mut BcfRec