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
@brief Memory allocator interface.
Fields§
§pfnAlloc: PFN_rpsAlloc< Pointer to a function for allocating memory.
pfnFree: PFN_rpsFree< Pointer to a function for releasing memory.
pfnRealloc: PFN_rpsRealloc< Pointer to a function for reallocating memory.
pContext: *mut c_void< Context 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