Type Alias imgui_sys::ImGuiMemAllocFunc

source ·
pub type ImGuiMemAllocFunc = Option<unsafe extern "C" fn(sz: usize, user_data: *mut c_void) -> *mut c_void>;

Aliased Type§

enum ImGuiMemAllocFunc {
    None,
    Some(unsafe extern "C" fn(_: usize, _: *mut c_void) -> *mut c_void),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: usize, _: *mut c_void) -> *mut c_void)

Some value of type T.