#[repr(transparent)]pub struct DedicatedAllocationMemoryAllocateInfoNVBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for DedicatedAllocationMemoryAllocateInfoNVBuilder<'a>
impl<'a> Deref for DedicatedAllocationMemoryAllocateInfoNVBuilder<'a>
type Target = DedicatedAllocationMemoryAllocateInfoNV
type Target = DedicatedAllocationMemoryAllocateInfoNV
The resulting type after dereferencing.
sourceimpl<'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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more