Struct erupt::vk1_0::MemoryAllocateInfoBuilder [−][src]
Vulkan Manual Page · Builder of MemoryAllocateInfo
Implementations
impl<'a> MemoryAllocateInfoBuilder<'a>
[src]
pub fn new() -> MemoryAllocateInfoBuilder<'a>
[src]
pub fn allocation_size(self, allocation_size: DeviceSize) -> Self
[src]
pub fn memory_type_index(self, memory_type_index: u32) -> Self
[src]
pub fn build(self) -> MemoryAllocateInfo
[src]
Discards all lifetime information. Use the Deref
and DerefMut
implementations if possible.
Methods from Deref<Target = MemoryAllocateInfo>
Trait Implementations
impl<'a> Clone for MemoryAllocateInfoBuilder<'a>
[src]
fn clone(&self) -> MemoryAllocateInfoBuilder<'a>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Copy for MemoryAllocateInfoBuilder<'a>
[src]
impl<'a> Debug for MemoryAllocateInfoBuilder<'a>
[src]
impl<'a> Default for MemoryAllocateInfoBuilder<'a>
[src]
fn default() -> MemoryAllocateInfoBuilder<'a>
[src]
impl<'a> Deref for MemoryAllocateInfoBuilder<'a>
[src]
type Target = MemoryAllocateInfo
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl<'a> DerefMut for MemoryAllocateInfoBuilder<'a>
[src]
impl<'a> ExtendableFrom<'a, DedicatedAllocationMemoryAllocateInfoNV> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a> ExtendableFrom<'a, DedicatedAllocationMemoryAllocateInfoNVBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a> ExtendableFrom<'a, ExportMemoryAllocateInfo> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a> ExtendableFrom<'a, ExportMemoryAllocateInfoBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a> ExtendableFrom<'a, ExportMemoryAllocateInfoNV> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a> ExtendableFrom<'a, ExportMemoryAllocateInfoNVBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a> ExtendableFrom<'a, ExportMemoryWin32HandleInfoKHR> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a> ExtendableFrom<'a, ExportMemoryWin32HandleInfoKHRBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a> ExtendableFrom<'a, ExportMemoryWin32HandleInfoNV> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a> ExtendableFrom<'a, ExportMemoryWin32HandleInfoNVBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a> ExtendableFrom<'a, ImportAndroidHardwareBufferInfoANDROID> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a> ExtendableFrom<'a, ImportAndroidHardwareBufferInfoANDROIDBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a> ExtendableFrom<'a, ImportMemoryFdInfoKHR> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a> ExtendableFrom<'a, ImportMemoryFdInfoKHRBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a> ExtendableFrom<'a, ImportMemoryHostPointerInfoEXT> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a> ExtendableFrom<'a, ImportMemoryHostPointerInfoEXTBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a> ExtendableFrom<'a, ImportMemoryWin32HandleInfoKHR> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a> ExtendableFrom<'a, ImportMemoryWin32HandleInfoKHRBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a> ExtendableFrom<'a, ImportMemoryWin32HandleInfoNV> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a> ExtendableFrom<'a, ImportMemoryWin32HandleInfoNVBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a> ExtendableFrom<'a, ImportMemoryZirconHandleInfoFUCHSIA> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a> ExtendableFrom<'a, ImportMemoryZirconHandleInfoFUCHSIABuilder<'_>> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a> ExtendableFrom<'a, MemoryAllocateFlagsInfo> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a> ExtendableFrom<'a, MemoryAllocateFlagsInfoBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a> ExtendableFrom<'a, MemoryDedicatedAllocateInfo> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a> ExtendableFrom<'a, MemoryDedicatedAllocateInfoBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a> ExtendableFrom<'a, MemoryOpaqueCaptureAddressAllocateInfo> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a> ExtendableFrom<'a, MemoryOpaqueCaptureAddressAllocateInfoBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a> ExtendableFrom<'a, MemoryPriorityAllocateInfoEXT> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a> ExtendableFrom<'a, MemoryPriorityAllocateInfoEXTBuilder<'_>> for MemoryAllocateInfoBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
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
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>,