pub struct DedicatedAllocationMemoryAllocateInfoNVBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> DedicatedAllocationMemoryAllocateInfoNVBuilder<'a>
impl<'a> DedicatedAllocationMemoryAllocateInfoNVBuilder<'a>
pub fn image(self, image: Image) -> Self
pub fn buffer(self, buffer: Buffer) -> Self
sourcepub fn build(self) -> DedicatedAllocationMemoryAllocateInfoNV
pub fn build(self) -> DedicatedAllocationMemoryAllocateInfoNV
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
source§impl<'a> Deref for DedicatedAllocationMemoryAllocateInfoNVBuilder<'a>
impl<'a> Deref for DedicatedAllocationMemoryAllocateInfoNVBuilder<'a>
source§impl<'a> DerefMut for DedicatedAllocationMemoryAllocateInfoNVBuilder<'a>
impl<'a> DerefMut for DedicatedAllocationMemoryAllocateInfoNVBuilder<'a>
impl ExtendsMemoryAllocateInfo for DedicatedAllocationMemoryAllocateInfoNVBuilder<'_>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for DedicatedAllocationMemoryAllocateInfoNVBuilder<'a>
impl<'a> !Send for DedicatedAllocationMemoryAllocateInfoNVBuilder<'a>
impl<'a> !Sync for DedicatedAllocationMemoryAllocateInfoNVBuilder<'a>
impl<'a> Unpin for DedicatedAllocationMemoryAllocateInfoNVBuilder<'a>
impl<'a> UnwindSafe for DedicatedAllocationMemoryAllocateInfoNVBuilder<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more