pub fn bar_chunks_mut<T>(
    chunk_size: usize,
    slice: &mut [T]
) -> impl Iterator<Item = &mut T>