iter_or_repeat_opt

Function iter_or_repeat_opt 

Source
pub fn iter_or_repeat_opt<C>(
    this: Option<&[Option<C>]>,
    len: usize,
) -> impl Iterator<Item = &Option<C>> + '_
Expand description

Iterates over the data of an optional component, or repeat None values if it’s missing.