Function wgpu_core::track::metadata::iterate_bitvec_indices

source ·
fn iterate_bitvec_indices(
    ownership: &BitVec<usize>,
) -> impl Iterator<Item = usize> + '_
Expand description

Produces an iterator that yields the indexes of all bits that are set in the bitvec.

Will skip entire usize’s worth of bits if they are all false.