Struct ash::vk::MemoryAllocateFlagsInfoBuilder
source · pub struct MemoryAllocateFlagsInfoBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> MemoryAllocateFlagsInfoBuilder<'a>
impl<'a> MemoryAllocateFlagsInfoBuilder<'a>
pub fn flags(self, flags: MemoryAllocateFlags) -> Self
pub fn device_mask(self, device_mask: u32) -> Self
sourcepub fn build(self) -> MemoryAllocateFlagsInfo
pub fn build(self) -> MemoryAllocateFlagsInfo
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 MemoryAllocateFlagsInfoBuilder<'a>
impl<'a> Deref for MemoryAllocateFlagsInfoBuilder<'a>
source§impl<'a> DerefMut for MemoryAllocateFlagsInfoBuilder<'a>
impl<'a> DerefMut for MemoryAllocateFlagsInfoBuilder<'a>
impl ExtendsMemoryAllocateInfo for MemoryAllocateFlagsInfoBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for MemoryAllocateFlagsInfoBuilder<'a>
impl<'a> RefUnwindSafe for MemoryAllocateFlagsInfoBuilder<'a>
impl<'a> !Send for MemoryAllocateFlagsInfoBuilder<'a>
impl<'a> !Sync for MemoryAllocateFlagsInfoBuilder<'a>
impl<'a> Unpin for MemoryAllocateFlagsInfoBuilder<'a>
impl<'a> UnwindSafe for MemoryAllocateFlagsInfoBuilder<'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