pub unsafe trait LinearAllocation { }Expand description
Trait indicating a type has been allocated using LinearAllocator.
This can be used to enforce that a given slice was allocated in LINEAR memory.
§Safety
Implementing this trait is a promise that the backing storage was allocated with
LinearAllocator. If this is not the case, attempting to use the
data with a LinearAllocation bound may result in undefined behavior.