Struct screen_13::prelude::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 ) -> MemoryAllocateFlagsInfoBuilder<'a>
pub fn device_mask(self, device_mask: u32) -> MemoryAllocateFlagsInfoBuilder<'a>
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>
§type Target = MemoryAllocateFlagsInfo
type Target = MemoryAllocateFlagsInfo
The resulting type after dereferencing.
source§impl<'a> DerefMut for MemoryAllocateFlagsInfoBuilder<'a>
impl<'a> DerefMut for MemoryAllocateFlagsInfoBuilder<'a>
impl ExtendsMemoryAllocateInfo for MemoryAllocateFlagsInfoBuilder<'_>
Auto Trait Implementations§
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