Struct ash::vk::MemoryAllocateFlagsInfoBuilder
source · #[repr(transparent)]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.