Struct ash::vk::AllocationCallbacksBuilder [−][src]
#[repr(transparent)]pub struct AllocationCallbacksBuilder<'a> { /* fields omitted */ }
Implementations
pub fn pfn_allocation(
self,
pfn_allocation: PFN_vkAllocationFunction
) -> AllocationCallbacksBuilder<'a>
pub fn pfn_reallocation(
self,
pfn_reallocation: PFN_vkReallocationFunction
) -> AllocationCallbacksBuilder<'a>
pub fn pfn_internal_allocation(
self,
pfn_internal_allocation: PFN_vkInternalAllocationNotification
) -> AllocationCallbacksBuilder<'a>
pub fn pfn_internal_free(
self,
pfn_internal_free: PFN_vkInternalFreeNotification
) -> AllocationCallbacksBuilder<'a>
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Methods from Deref<Target = AllocationCallbacks>
Trait Implementations
type Target = AllocationCallbacks
type Target = AllocationCallbacks
The resulting type after dereferencing.