Struct erupt::vk1_0::MemoryAllocateInfoBuilder
source · #[repr(transparent)]pub struct MemoryAllocateInfoBuilder<'a>(_, _);
Expand description
Vulkan Manual Page · Builder of MemoryAllocateInfo
Implementations
sourceimpl<'a> MemoryAllocateInfoBuilder<'a>
impl<'a> MemoryAllocateInfoBuilder<'a>
pub fn new() -> MemoryAllocateInfoBuilder<'a>
pub fn allocation_size(self, allocation_size: DeviceSize) -> Self
pub fn memory_type_index(self, memory_type_index: u32) -> Self
sourcepub fn build_dangling(self) -> MemoryAllocateInfo
pub fn build_dangling(self) -> MemoryAllocateInfo
Discards all lifetime information.
Use the Deref
and DerefMut
implementations if possible.
Methods from Deref<Target = MemoryAllocateInfo>
pub const STRUCTURE_TYPE: StructureType = crate::vk1_0::StructureType::MEMORY_ALLOCATE_INFO
Trait Implementations
sourceimpl<'a> Clone for MemoryAllocateInfoBuilder<'a>
impl<'a> Clone for MemoryAllocateInfoBuilder<'a>
sourcefn clone(&self) -> MemoryAllocateInfoBuilder<'a>
fn clone(&self) -> MemoryAllocateInfoBuilder<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for MemoryAllocateInfoBuilder<'a>
impl<'a> Debug for MemoryAllocateInfoBuilder<'a>
sourceimpl<'a> Default for MemoryAllocateInfoBuilder<'a>
impl<'a> Default for MemoryAllocateInfoBuilder<'a>
sourcefn default() -> MemoryAllocateInfoBuilder<'a>
fn default() -> MemoryAllocateInfoBuilder<'a>
Returns the “default value” for a type. Read more
sourceimpl<'a> Deref for MemoryAllocateInfoBuilder<'a>
impl<'a> Deref for MemoryAllocateInfoBuilder<'a>
type Target = MemoryAllocateInfo
type Target = MemoryAllocateInfo
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for MemoryAllocateInfoBuilder<'a>
impl<'a> DerefMut for MemoryAllocateInfoBuilder<'a>
sourceimpl<'a> ExtendableFrom<'a, DedicatedAllocationMemoryAllocateInfoNV> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, DedicatedAllocationMemoryAllocateInfoNV> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, DedicatedAllocationMemoryAllocateInfoNVBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, DedicatedAllocationMemoryAllocateInfoNVBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, ExportMemoryAllocateInfo> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, ExportMemoryAllocateInfo> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, ExportMemoryAllocateInfoBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, ExportMemoryAllocateInfoBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, ExportMemoryAllocateInfoNV> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, ExportMemoryAllocateInfoNV> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, ExportMemoryAllocateInfoNVBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, ExportMemoryAllocateInfoNVBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, ExportMemoryWin32HandleInfoKHR> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, ExportMemoryWin32HandleInfoKHR> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, ExportMemoryWin32HandleInfoKHRBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, ExportMemoryWin32HandleInfoKHRBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, ExportMemoryWin32HandleInfoNV> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, ExportMemoryWin32HandleInfoNV> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, ExportMemoryWin32HandleInfoNVBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, ExportMemoryWin32HandleInfoNVBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, ImportAndroidHardwareBufferInfoANDROID> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, ImportAndroidHardwareBufferInfoANDROID> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, ImportAndroidHardwareBufferInfoANDROIDBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, ImportAndroidHardwareBufferInfoANDROIDBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, ImportMemoryBufferCollectionFUCHSIA> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, ImportMemoryBufferCollectionFUCHSIA> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, ImportMemoryBufferCollectionFUCHSIABuilder<'_>> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, ImportMemoryBufferCollectionFUCHSIABuilder<'_>> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, ImportMemoryFdInfoKHR> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, ImportMemoryFdInfoKHR> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, ImportMemoryFdInfoKHRBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, ImportMemoryFdInfoKHRBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, ImportMemoryHostPointerInfoEXT> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, ImportMemoryHostPointerInfoEXT> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, ImportMemoryHostPointerInfoEXTBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, ImportMemoryHostPointerInfoEXTBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, ImportMemoryWin32HandleInfoKHR> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, ImportMemoryWin32HandleInfoKHR> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, ImportMemoryWin32HandleInfoKHRBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, ImportMemoryWin32HandleInfoKHRBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, ImportMemoryWin32HandleInfoNV> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, ImportMemoryWin32HandleInfoNV> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, ImportMemoryWin32HandleInfoNVBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, ImportMemoryWin32HandleInfoNVBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, ImportMemoryZirconHandleInfoFUCHSIA> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, ImportMemoryZirconHandleInfoFUCHSIA> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, ImportMemoryZirconHandleInfoFUCHSIABuilder<'_>> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, ImportMemoryZirconHandleInfoFUCHSIABuilder<'_>> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, MemoryAllocateFlagsInfo> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, MemoryAllocateFlagsInfo> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, MemoryAllocateFlagsInfoBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, MemoryAllocateFlagsInfoBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, MemoryDedicatedAllocateInfo> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, MemoryDedicatedAllocateInfo> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, MemoryDedicatedAllocateInfoBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, MemoryDedicatedAllocateInfoBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, MemoryOpaqueCaptureAddressAllocateInfo> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, MemoryOpaqueCaptureAddressAllocateInfo> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, MemoryOpaqueCaptureAddressAllocateInfoBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, MemoryOpaqueCaptureAddressAllocateInfoBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, MemoryPriorityAllocateInfoEXT> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, MemoryPriorityAllocateInfoEXT> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, MemoryPriorityAllocateInfoEXTBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, MemoryPriorityAllocateInfoEXTBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moreimpl<'a> Copy for MemoryAllocateInfoBuilder<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for MemoryAllocateInfoBuilder<'a>
impl<'a> !Send for MemoryAllocateInfoBuilder<'a>
impl<'a> !Sync for MemoryAllocateInfoBuilder<'a>
impl<'a> Unpin for MemoryAllocateInfoBuilder<'a>
impl<'a> UnwindSafe for MemoryAllocateInfoBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more