Allocator::new should not be safe because there is no guarantee the caller has made sure the ash::Device outlives the allocator.
The AllocatorCreateDesc also needs to be populated so that the instance is the one which created the physical device and the device was created from the physical device.
Allocator::new
should not be safe because there is no guarantee the caller has made sure theash::Device
outlives the allocator.The
AllocatorCreateDesc
also needs to be populated so that the instance is the one which created the physical device and the device was created from the physical device.