Struct IMemoryAllocator_Vtbl
#[repr(C)]pub struct IMemoryAllocator_Vtbl {
pub Allocate: unsafe extern "system" fn(_: *mut c_void, _: u32) -> *mut c_void,
pub Free: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void),
}
Fields§
§Allocate: unsafe extern "system" fn(_: *mut c_void, _: u32) -> *mut c_void
§Free: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void)
Implementations§
§impl IMemoryAllocator_Vtbl
impl IMemoryAllocator_Vtbl
pub const fn new<Identity: IMemoryAllocator_Impl>() -> Self
Auto Trait Implementations§
impl Freeze for IMemoryAllocator_Vtbl
impl RefUnwindSafe for IMemoryAllocator_Vtbl
impl Send for IMemoryAllocator_Vtbl
impl Sync for IMemoryAllocator_Vtbl
impl Unpin for IMemoryAllocator_Vtbl
impl UnwindSafe for IMemoryAllocator_Vtbl
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