Skip to main content

get_disjoint_opt_mut

Function get_disjoint_opt_mut 

Source
pub(super) fn get_disjoint_opt_mut<T, const N: usize>(
    entries: &mut [T],
    indices: [Option<usize>; N],
) -> [Option<&mut T>; N]
Expand description

Like slice::get_disjoint_mut but with optional indices, allowing for absent keys from the user’s original request.