ash::vk

Type Alias PFN_vkAllocationFunction

Source
pub type PFN_vkAllocationFunction = Option<unsafe extern "system" fn(p_user_data: *mut c_void, size: usize, alignment: usize, allocation_scope: SystemAllocationScope) -> *mut c_void>;
Expand description

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.