[−][src]Struct vulkanalia::vk::AllocationCallbacksBuilder
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]
self,
internal_allocation: PFN_vkInternalAllocationNotification
) -> Self
pub fn internal_free(
self,
internal_free: PFN_vkInternalFreeNotification
) -> Self
[src]
self,
internal_free: PFN_vkInternalFreeNotification
) -> Self
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.
fn into(self) -> Self::Target
[src]
fn as_ref(&self) -> &Self::Target
[src]
fn as_mut(&mut self) -> &mut Self::Target
[src]
impl<'b> Clone for AllocationCallbacksBuilder<'b>
[src]
fn clone(&self) -> AllocationCallbacksBuilder<'b>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'b> Copy for AllocationCallbacksBuilder<'b>
[src]
impl<'b> Debug for AllocationCallbacksBuilder<'b>
[src]
impl<'b> Default for AllocationCallbacksBuilder<'b>
[src]
fn default() -> AllocationCallbacksBuilder<'b>
[src]
impl<'b> Deref for AllocationCallbacksBuilder<'b>
[src]
type Target = AllocationCallbacks
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl<'b> DerefMut for AllocationCallbacksBuilder<'b>
[src]
Auto Trait Implementations
impl<'b> RefUnwindSafe for AllocationCallbacksBuilder<'b>
impl<'b> !Send for AllocationCallbacksBuilder<'b>
impl<'b> !Sync for AllocationCallbacksBuilder<'b>
impl<'b> Unpin for AllocationCallbacksBuilder<'b>
impl<'b> UnwindSafe for AllocationCallbacksBuilder<'b>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,