Struct erupt::vk1_0::AllocationCallbacks[][src]

#[repr(C)]pub struct AllocationCallbacks {
    pub p_user_data: *mut c_void,
    pub pfn_allocation: Option<PFN_vkAllocationFunction>,
    pub pfn_reallocation: Option<PFN_vkReallocationFunction>,
    pub pfn_free: Option<PFN_vkFreeFunction>,
    pub pfn_internal_allocation: Option<PFN_vkInternalAllocationNotification>,
    pub pfn_internal_free: Option<PFN_vkInternalFreeNotification>,
}

Vulkan Manual Page · Structure

Fields

p_user_data: *mut c_voidpfn_allocation: Option<PFN_vkAllocationFunction>pfn_reallocation: Option<PFN_vkReallocationFunction>pfn_free: Option<PFN_vkFreeFunction>pfn_internal_allocation: Option<PFN_vkInternalAllocationNotification>pfn_internal_free: Option<PFN_vkInternalFreeNotification>

Implementations

impl AllocationCallbacks[src]

Trait Implementations

impl Clone for AllocationCallbacks[src]

impl Copy for AllocationCallbacks[src]

impl Debug for AllocationCallbacks[src]

impl Default for AllocationCallbacks[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.