#[repr(C)]pub struct IMemoryHeapVtbl {Show 14 fields
pub CxxDrop: unsafe extern "C" fn(this: *mut IMemoryHeap),
pub Size: unsafe extern "C" fn(this: *const IMemoryHeap, mem: *const c_void) -> usize,
pub GetMemoryStats: unsafe extern "C" fn(this: *mut IMemoryHeap, stats: *mut HeapStats),
pub ContainsBlockImpl: unsafe extern "C" fn(this: *const IMemoryHeap, block: *const c_void) -> bool,
pub AllocateAlignImpl: unsafe extern "C" fn(this: *mut IMemoryHeap, size: usize, alignment: u32) -> *mut c_void,
pub DeallocateAlignImpl: unsafe extern "C" fn(this: *mut IMemoryHeap, block: *mut *mut c_void),
pub GetName: unsafe extern "C" fn(this: *const IMemoryHeap) -> *const c_char,
pub Allocate: unsafe extern "C" fn(this: *mut IMemoryHeap, size: usize, alignment: u32) -> *mut c_void,
pub Deallocate: unsafe extern "C" fn(this: *mut IMemoryHeap, mem: *mut c_void, alignment: u32),
pub PointerInHeap: unsafe extern "C" fn(this: *const IMemoryHeap, pointer: *const c_void) -> bool,
pub TotalSize: unsafe extern "C" fn(this: *const IMemoryHeap, pointer: *const c_void) -> usize,
pub GetHeapStats: unsafe extern "C" fn(this: *mut IMemoryHeap, stats: *mut HeapStats, full_block_info: bool),
pub ShouldTrySmallBlockPools: unsafe extern "C" fn(this: *const IMemoryHeap, size: usize, context: MEM_CONTEXT) -> bool,
pub GetPageSize: unsafe extern "C" fn(this: *const IMemoryHeap) -> u32,
}Fields§
§CxxDrop: unsafe extern "C" fn(this: *mut IMemoryHeap)§Size: unsafe extern "C" fn(this: *const IMemoryHeap, mem: *const c_void) -> usize§GetMemoryStats: unsafe extern "C" fn(this: *mut IMemoryHeap, stats: *mut HeapStats)§ContainsBlockImpl: unsafe extern "C" fn(this: *const IMemoryHeap, block: *const c_void) -> bool§AllocateAlignImpl: unsafe extern "C" fn(this: *mut IMemoryHeap, size: usize, alignment: u32) -> *mut c_void§DeallocateAlignImpl: unsafe extern "C" fn(this: *mut IMemoryHeap, block: *mut *mut c_void)§GetName: unsafe extern "C" fn(this: *const IMemoryHeap) -> *const c_char§Allocate: unsafe extern "C" fn(this: *mut IMemoryHeap, size: usize, alignment: u32) -> *mut c_void§Deallocate: unsafe extern "C" fn(this: *mut IMemoryHeap, mem: *mut c_void, alignment: u32)§PointerInHeap: unsafe extern "C" fn(this: *const IMemoryHeap, pointer: *const c_void) -> bool§TotalSize: unsafe extern "C" fn(this: *const IMemoryHeap, pointer: *const c_void) -> usize§GetHeapStats: unsafe extern "C" fn(this: *mut IMemoryHeap, stats: *mut HeapStats, full_block_info: bool)§ShouldTrySmallBlockPools: unsafe extern "C" fn(this: *const IMemoryHeap, size: usize, context: MEM_CONTEXT) -> bool§GetPageSize: unsafe extern "C" fn(this: *const IMemoryHeap) -> u32Auto Trait Implementations§
impl Freeze for IMemoryHeapVtbl
impl RefUnwindSafe for IMemoryHeapVtbl
impl Send for IMemoryHeapVtbl
impl Sync for IMemoryHeapVtbl
impl Unpin for IMemoryHeapVtbl
impl UnwindSafe for IMemoryHeapVtbl
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