Function cast_slice_of_mut_unique_entity_slice_mut

Source
pub unsafe fn cast_slice_of_mut_unique_entity_slice_mut<'a, 'b, T>(
    slice: &'b mut [&'a mut [T]],
) -> &'b mut [&'a mut UniqueEntityEquivalentSlice<T>]
where T: EntityEquivalent + 'a,
Expand description

Casts a mutable slice of mutable entity slices to a slice of mutable UniqueEntityEquivalentSlices.

ยงSafety

All elements in each of the casted slices must be unique.