Skip to main content

retain_items

Function retain_items 

Source
pub fn retain_items<'a, C: Container>(
    lists: <Lists<C> as Borrow>::Borrowed<'a>,
    keep: &[bool],
) -> (Lists<C>, Vec<bool>)
Expand description

Returns the non-empty lists once values are filtered by keep, and the bitmap of lists to keep.