structAlloc<X extends RaylibStruct<X> > method
Returns the struct allocator registered under struct type X.
Implementation
RaylibTempStructAllocator<X>? structAlloc<X extends RaylibStruct<X>>()
=> (_builtInStructAllocators[X] ?? _customStructAllocators[X]) as RaylibTempStructAllocator<X>?;