Struct python3_sys::PyObjectArenaAllocator
[−]
[src]
#[repr(C)]pub struct PyObjectArenaAllocator { pub ctx: *mut c_void, pub alloc: Option<extern "C" fn(_: *mut c_void, _: size_t) -> *mut c_void>, pub free: Option<extern "C" fn(_: *mut c_void, _: *mut c_void, _: size_t)>, }
Fields
ctx: *mut c_void
alloc: Option<extern "C" fn(_: *mut c_void, _: size_t) -> *mut c_void>
free: Option<extern "C" fn(_: *mut c_void, _: *mut c_void, _: size_t)>
Trait Implementations
impl Copy for PyObjectArenaAllocator
[src]
impl Clone for PyObjectArenaAllocator
[src]
fn clone(&self) -> Self
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more