[][src]Struct glib_sys::GMemVTable

#[repr(C)]pub struct GMemVTable {
    pub malloc: Option<unsafe extern "C" fn(_: size_t) -> gpointer>,
    pub realloc: Option<unsafe extern "C" fn(_: gpointer, _: size_t) -> gpointer>,
    pub free: Option<unsafe extern "C" fn(_: gpointer)>,
    pub calloc: Option<unsafe extern "C" fn(_: size_t, _: size_t) -> gpointer>,
    pub try_malloc: Option<unsafe extern "C" fn(_: size_t) -> gpointer>,
    pub try_realloc: Option<unsafe extern "C" fn(_: gpointer, _: size_t) -> gpointer>,
}

Fields

malloc: Option<unsafe extern "C" fn(_: size_t) -> gpointer>realloc: Option<unsafe extern "C" fn(_: gpointer, _: size_t) -> gpointer>free: Option<unsafe extern "C" fn(_: gpointer)>calloc: Option<unsafe extern "C" fn(_: size_t, _: size_t) -> gpointer>try_malloc: Option<unsafe extern "C" fn(_: size_t) -> gpointer>try_realloc: Option<unsafe extern "C" fn(_: gpointer, _: size_t) -> gpointer>

Trait Implementations

impl Clone for GMemVTable[src]

impl Copy for GMemVTable[src]

impl Debug for GMemVTable[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.