pub struct UnityAllocator { /* private fields */ }
Implementations§
Source§impl UnityAllocator
impl UnityAllocator
pub unsafe fn allocate( &self, size: usize, align: usize, file: &CStr, line: i32, ) -> *mut c_void
pub unsafe fn deallocate(&self, ptr: *mut c_void, file: &CStr, line: i32)
pub unsafe fn reallocate( &self, ptr: *mut c_void, size: usize, align: usize, file: &CStr, line: i32, ) -> *mut c_void
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UnityAllocator
impl RefUnwindSafe for UnityAllocator
impl !Send for UnityAllocator
impl !Sync for UnityAllocator
impl Unpin for UnityAllocator
impl UnwindSafe for UnityAllocator
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