pub trait AllocatorTrait {
type Allocation: AllocationTrait;
type AllocationCreateInfo: AllocationCreateInfoTrait;
fn allocate(
&self,
desc: Self::AllocationCreateInfo
) -> Result<Self::Allocation>;
fn free(&self, allocation: Self::Allocation) -> Result<()>;
}