Struct voodoo::AllocationCallbacksBuilder
[−]
[src]
pub struct AllocationCallbacksBuilder<'b> { /* fields omitted */ }
A builder for VkAllocationCallbacks
.
Methods
impl<'b> AllocationCallbacksBuilder<'b>
[src]
fn new() -> AllocationCallbacksBuilder<'b>
[src]
unsafe fn user_data<'m>(
self,
user_data: *mut c_void
) -> AllocationCallbacksBuilder<'b>
[src]
self,
user_data: *mut c_void
) -> AllocationCallbacksBuilder<'b>
unsafe fn pfn_allocation<'m>(
self,
pfn_allocation: PFN_vkAllocationFunction
) -> AllocationCallbacksBuilder<'b>
[src]
self,
pfn_allocation: PFN_vkAllocationFunction
) -> AllocationCallbacksBuilder<'b>
unsafe fn pfn_reallocation<'m>(
self,
pfn_reallocation: PFN_vkReallocationFunction
) -> AllocationCallbacksBuilder<'b>
[src]
self,
pfn_reallocation: PFN_vkReallocationFunction
) -> AllocationCallbacksBuilder<'b>
unsafe fn pfn_free<'m>(
self,
pfn_free: PFN_vkFreeFunction
) -> AllocationCallbacksBuilder<'b>
[src]
self,
pfn_free: PFN_vkFreeFunction
) -> AllocationCallbacksBuilder<'b>
unsafe fn pfn_internal_allocation<'m>(
self,
pfn_internal_allocation: PFN_vkInternalAllocationNotification
) -> AllocationCallbacksBuilder<'b>
[src]
self,
pfn_internal_allocation: PFN_vkInternalAllocationNotification
) -> AllocationCallbacksBuilder<'b>
unsafe fn pfn_internal_free<'m>(
self,
pfn_internal_free: PFN_vkInternalFreeNotification
) -> AllocationCallbacksBuilder<'b>
[src]
self,
pfn_internal_free: PFN_vkInternalFreeNotification
) -> AllocationCallbacksBuilder<'b>
fn get_user_data<'a>(&'a self) -> *mut c_void
[src]
fn get_pfn_allocation<'a>(&'a self) -> PFN_vkAllocationFunction
[src]
fn get_pfn_reallocation<'a>(&'a self) -> PFN_vkReallocationFunction
[src]
fn get_pfn_free<'a>(&'a self) -> PFN_vkFreeFunction
[src]
fn get_pfn_internal_allocation<'a>(
&'a self
) -> PFN_vkInternalAllocationNotification
[src]
&'a self
) -> PFN_vkInternalAllocationNotification
fn get_pfn_internal_free<'a>(&'a self) -> PFN_vkInternalFreeNotification
[src]
fn build(self) -> AllocationCallbacks<'b>
[src]
Trait Implementations
impl<'b> Debug for AllocationCallbacksBuilder<'b>
[src]
impl<'b> Clone for AllocationCallbacksBuilder<'b>
[src]
fn clone(&self) -> AllocationCallbacksBuilder<'b>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'b> Default for AllocationCallbacksBuilder<'b>
[src]
fn default() -> AllocationCallbacksBuilder<'b>
[src]
Returns the "default value" for a type. Read more