Skip to main content

get_disjoint_mut

Function get_disjoint_mut 

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

Like slice::get_disjoint_mut, although we’re not dealing with ranges (yet).