pub struct b2BlockAllocator { /* private fields */ }Expand description
This is a small object allocator used for allocating small objects that persist for more than one time step. See: http://www.codeproject.com/useritems/Small_Block_Allocator.asp
Trait Implementations§
Source§impl ExternType for b2BlockAllocator
impl ExternType for b2BlockAllocator
Source§impl MakeCppStorage for b2BlockAllocator
impl MakeCppStorage for b2BlockAllocator
Source§unsafe fn allocate_uninitialized_cpp_storage() -> *mut b2BlockAllocator
unsafe fn allocate_uninitialized_cpp_storage() -> *mut b2BlockAllocator
Allocates heap space for this type in C++ and return a pointer
to that space, but do not initialize that space (i.e. do not
yet call a constructor). Read more
Source§unsafe fn free_uninitialized_cpp_storage(arg0: *mut b2BlockAllocator)
unsafe fn free_uninitialized_cpp_storage(arg0: *mut b2BlockAllocator)
Frees a C++ allocation which has not yet
had a constructor called. Read more
impl UniquePtrTarget for b2BlockAllocator
impl WeakPtrTarget for b2BlockAllocator
Auto Trait Implementations§
impl Freeze for b2BlockAllocator
impl RefUnwindSafe for b2BlockAllocator
impl !Send for b2BlockAllocator
impl !Sync for b2BlockAllocator
impl !Unpin for b2BlockAllocator
impl UnwindSafe for b2BlockAllocator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more