pub unsafe fn cast_slice_of_unique_entity_slice<'a, 'b, T>(
slice: &'b [&'a [T]],
) -> &'b [&'a UniqueEntityEquivalentSlice<T>]where
T: EntityEquivalent + 'a,
Expand description
Casts a slice of entity slices to a slice of UniqueEntityEquivalentSlice
s.
ยงSafety
All elements in each of the casted slices must be unique.