Struct vips_sys::_GMemVTable
[−]
[src]
#[repr(C)]pub struct _GMemVTable { pub malloc: Option<unsafe extern "C" fn(n_bytes: gsize) -> gpointer>, pub realloc: Option<unsafe extern "C" fn(mem: gpointer, n_bytes: gsize) -> gpointer>, pub free: Option<unsafe extern "C" fn(mem: gpointer)>, pub calloc: Option<unsafe extern "C" fn(n_blocks: gsize, n_block_bytes: gsize) -> gpointer>, pub try_malloc: Option<unsafe extern "C" fn(n_bytes: gsize) -> gpointer>, pub try_realloc: Option<unsafe extern "C" fn(mem: gpointer, n_bytes: gsize) -> gpointer>, }
Fields
malloc: Option<unsafe extern "C" fn(n_bytes: gsize) -> gpointer>
realloc: Option<unsafe extern "C" fn(mem: gpointer, n_bytes: gsize) -> gpointer>
free: Option<unsafe extern "C" fn(mem: gpointer)>
calloc: Option<unsafe extern "C" fn(n_blocks: gsize, n_block_bytes: gsize) -> gpointer>
try_malloc: Option<unsafe extern "C" fn(n_bytes: gsize) -> gpointer>
try_realloc: Option<unsafe extern "C" fn(mem: gpointer, n_bytes: gsize) -> gpointer>
Trait Implementations
impl Debug for _GMemVTable
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for _GMemVTable
[src]
impl Clone for _GMemVTable
[src]
fn clone(&self) -> _GMemVTable
[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