Struct libvips::bindings::_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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for _GMemVTable
impl Send for _GMemVTable
impl Sync for _GMemVTable
impl Unpin for _GMemVTable
impl UnwindSafe for _GMemVTable
Blanket Implementations
Mutably borrows from an owned value. Read more