Function cast_slice_of_unique_entity_slice_mut

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

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

ยงSafety

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