Struct python3_sys::PyMemAllocatorEx [] [src]

#[repr(C)]
pub struct PyMemAllocatorEx { pub ctx: *mut c_void, pub malloc: Option<extern "C" fn(_: *mut c_void, _: size_t) -> *mut c_void>, pub calloc: Option<extern "C" fn(_: *mut c_void, _: size_t, _: size_t) -> *mut c_void>, pub realloc: Option<extern "C" fn(_: *mut c_void, _: *mut c_void, _: size_t) -> *mut c_void>, pub free: Option<extern "C" fn(_: *mut c_void, _: *mut c_void)>, }

Fields

Trait Implementations

impl Copy for PyMemAllocatorEx
[src]

impl Clone for PyMemAllocatorEx
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more