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