Struct voodoo::AllocationCallbacks
[−]
[src]
#[repr(C)]pub struct AllocationCallbacks<'s> { /* fields omitted */ }
A VkAllocationCallbacks
.
Methods
impl<'s> AllocationCallbacks<'s>
[src]
fn builder<'b>() -> AllocationCallbacksBuilder<'b>
[src]
unsafe fn from_raw(raw: VkAllocationCallbacks) -> AllocationCallbacks<'s>
[src]
fn user_data<'a>(&'a self) -> *mut c_void
[src]
fn pfn_allocation<'a>(&'a self) -> PFN_vkAllocationFunction
[src]
fn pfn_reallocation<'a>(&'a self) -> PFN_vkReallocationFunction
[src]
fn pfn_free<'a>(&'a self) -> PFN_vkFreeFunction
[src]
fn pfn_internal_allocation<'a>(&'a self) -> PFN_vkInternalAllocationNotification
[src]
fn pfn_internal_free<'a>(&'a self) -> PFN_vkInternalFreeNotification
[src]
unsafe fn set_user_data<'m>(&mut self, user_data: *mut c_void)
[src]
unsafe fn set_pfn_allocation<'m>(
&mut self,
pfn_allocation: PFN_vkAllocationFunction
)
[src]
&mut self,
pfn_allocation: PFN_vkAllocationFunction
)
unsafe fn set_pfn_reallocation<'m>(
&mut self,
pfn_reallocation: PFN_vkReallocationFunction
)
[src]
&mut self,
pfn_reallocation: PFN_vkReallocationFunction
)
unsafe fn set_pfn_free<'m>(&mut self, pfn_free: PFN_vkFreeFunction)
[src]
unsafe fn set_pfn_internal_allocation<'m>(
&mut self,
pfn_internal_allocation: PFN_vkInternalAllocationNotification
)
[src]
&mut self,
pfn_internal_allocation: PFN_vkInternalAllocationNotification
)
unsafe fn set_pfn_internal_free<'m>(
&mut self,
pfn_internal_free: PFN_vkInternalFreeNotification
)
[src]
&mut self,
pfn_internal_free: PFN_vkInternalFreeNotification
)
fn as_raw(&self) -> &VkAllocationCallbacks
[src]
Trait Implementations
impl<'s> Debug for AllocationCallbacks<'s>
[src]
impl<'s> Clone for AllocationCallbacks<'s>
[src]
fn clone(&self) -> AllocationCallbacks<'s>
[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<'s> Default for AllocationCallbacks<'s>
[src]
fn default() -> AllocationCallbacks<'s>
[src]
Returns the "default value" for a type. Read more