Struct ash::vk::MemoryDedicatedAllocateInfoBuilder
source · 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> 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