Struct rps_sys::RpsAllocator
source · #[repr(C)]pub struct RpsAllocator {
pub pfnAlloc: PFN_rpsAlloc,
pub pfnFree: PFN_rpsFree,
pub pfnRealloc: PFN_rpsRealloc,
pub pContext: *mut c_void,
}Expand description
Memory allocator interface.
Fields§
§pfnAlloc: PFN_rpsAllocPointer to a function for allocating memory.
pfnFree: PFN_rpsFreePointer to a function for releasing memory.
pfnRealloc: PFN_rpsReallocPointer to a function for reallocating memory.
pContext: *mut c_voidContext to be passed to the allocator functions.
Trait Implementations§
source§impl Clone for RpsAllocator
impl Clone for RpsAllocator
source§fn clone(&self) -> RpsAllocator
fn clone(&self) -> RpsAllocator
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more