pub fn populated_bin_indices_and_lens<'a>(
        &'a self,
    ) -> impl Iterator<Item = (usize, usize)> + 'a {
        self.bins
            .iter()
            .enumerate()
            .filter_map(|(index, maybe_bin)| maybe_bin.as_ref().map(|bin| (index, bin.len())))
    }
/// Return indices of bins that actually contain items and their respective lengths
Return indices of bins that actually contain items and their respective lengths
Return indices of bins that actually contain items and their respective lengths
pub fn populated_bin_indices_and_lens<'a>(
        &'a self,
    ) -> impl Iterator<Item = (usize, usize)> + 'a {
        self.bins
            .iter()
            .enumerate()
            .filter_map(|(index, maybe_bin)| maybe_bin.as_ref().map(|bin| (index, bin.len())))
    }
pub fn populated_bin_indices_and_lens < ' a > ( & ' a self , ) -> impl Iterator < Item = ( usize , usize ) > + ' a { self . bins . iter ( ) . enumerate ( ) . filter_map ( | ( index , maybe_bin ) | maybe_bin . as_ref ( ) . map ( | bin | ( index , bin . len ( ) ) ) ) }
Return indices of bins that actually contain items and their respective lengths
Return indices of bins that actually contain items and their respective lengths
&'a self
&'a self