Struct vulkanalia::vk::AllocationCallbacksBuilder[][src]

#[repr(transparent)]pub struct AllocationCallbacksBuilder<'b> { /* fields omitted */ }

A builder for a AllocationCallbacks.

Implementations

impl<'b> AllocationCallbacksBuilder<'b>[src]

pub fn user_data<T>(self, user_data: &'b mut T) -> Self[src]

pub fn allocation(self, allocation: PFN_vkAllocationFunction) -> Self[src]

pub fn reallocation(self, reallocation: PFN_vkReallocationFunction) -> Self[src]

pub fn free(self, free: PFN_vkFreeFunction) -> Self[src]

pub fn internal_allocation(
    self,
    internal_allocation: PFN_vkInternalAllocationNotification
) -> Self
[src]

pub fn internal_free(
    self,
    internal_free: PFN_vkInternalFreeNotification
) -> Self
[src]

pub fn build(self) -> AllocationCallbacks[src]

Trait Implementations

impl<'b> Cast for AllocationCallbacksBuilder<'b>[src]

type Target = AllocationCallbacks

The other type this type type can be used interchangeably with in FFI.

impl<'b> Clone for AllocationCallbacksBuilder<'b>[src]

impl<'b> Copy for AllocationCallbacksBuilder<'b>[src]

impl<'b> Debug for AllocationCallbacksBuilder<'b>[src]

impl<'b> Default for AllocationCallbacksBuilder<'b>[src]

impl<'b> Deref for AllocationCallbacksBuilder<'b>[src]

type Target = AllocationCallbacks

The resulting type after dereferencing.

impl<'b> DerefMut for AllocationCallbacksBuilder<'b>[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.