pub struct MemoryDedicatedAllocateInfoBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> MemoryDedicatedAllocateInfoBuilder<'a>
impl<'a> MemoryDedicatedAllocateInfoBuilder<'a>
pub fn image(self, image: Image) -> Self
pub fn buffer(self, buffer: Buffer) -> Self
Sourcepub fn build(self) -> MemoryDedicatedAllocateInfo
pub fn build(self) -> MemoryDedicatedAllocateInfo
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 MemoryDedicatedAllocateInfoBuilder<'a>
impl<'a> Deref for MemoryDedicatedAllocateInfoBuilder<'a>
Source§impl<'a> DerefMut for MemoryDedicatedAllocateInfoBuilder<'a>
impl<'a> DerefMut for MemoryDedicatedAllocateInfoBuilder<'a>
impl ExtendsMemoryAllocateInfo for MemoryDedicatedAllocateInfoBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for MemoryDedicatedAllocateInfoBuilder<'a>
impl<'a> RefUnwindSafe for MemoryDedicatedAllocateInfoBuilder<'a>
impl<'a> !Send for MemoryDedicatedAllocateInfoBuilder<'a>
impl<'a> !Sync for MemoryDedicatedAllocateInfoBuilder<'a>
impl<'a> Unpin for MemoryDedicatedAllocateInfoBuilder<'a>
impl<'a> UnwindSafe for MemoryDedicatedAllocateInfoBuilder<'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