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> Freeze for DedicatedAllocationMemoryAllocateInfoNVBuilder<'a>
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