pub fn attesting_validators_in_chunk<'a, E: EthSpec>(
        &'a self,
        attestation: &'a IndexedAttestation<E>,
        validator_chunk_index: usize,
    ) -> impl Iterator<Item = u64> + 'a {
        attestation
            .attesting_indices
            .iter()
            .filter(move |v| self.validator_chunk_index(**v) == validator_chunk_index)
            .copied()
    }
/// Iterate over the attesting indices which belong to the `validator_chunk_index` chunk.
Iterate over the attesting indices which belong to the `validator_chunk_index` chunk.
Iterate over the attesting indices which belong to the ` validator_chunk_index ` chunk .
pub fn attesting_validators_in_chunk<'a, E: EthSpec>(
        &'a self,
        attestation: &'a IndexedAttestation<E>,
        validator_chunk_index: usize,
    ) -> impl Iterator<Item = u64> + 'a {
        attestation
            .attesting_indices
            .iter()
            .filter(move |v| self.validator_chunk_index(**v) == validator_chunk_index)
            .copied()
    }
pub fn attesting_validators_in_chunk < ' a , E : EthSpec > ( & ' a self , attestation : & ' a IndexedAttestation < E > , validator_chunk_index : usize , ) -> impl Iterator < Item = u64 > + ' a { attestation . attesting_indices . iter ( ) . filter ( move | v | self . validator_chunk_index ( * * v ) == validator_chunk_index ) . copied ( ) }
Iterate over the attesting indices which belong to the `validator_chunk_index` chunk.
Iterate over the attesting indices which belong to the ` validator_chunk_index ` chunk .
&'a self
attestation
&'a IndexedAttestation<E>
validator_chunk_index
usize