pub struct MemoryPriorityAllocateInfoEXTBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> MemoryPriorityAllocateInfoEXTBuilder<'a>
impl<'a> MemoryPriorityAllocateInfoEXTBuilder<'a>
pub fn priority(self, priority: f32) -> Self
Sourcepub fn build(self) -> MemoryPriorityAllocateInfoEXT
pub fn build(self) -> MemoryPriorityAllocateInfoEXT
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 MemoryPriorityAllocateInfoEXTBuilder<'a>
impl<'a> Deref for MemoryPriorityAllocateInfoEXTBuilder<'a>
Source§impl<'a> DerefMut for MemoryPriorityAllocateInfoEXTBuilder<'a>
impl<'a> DerefMut for MemoryPriorityAllocateInfoEXTBuilder<'a>
impl ExtendsMemoryAllocateInfo for MemoryPriorityAllocateInfoEXTBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for MemoryPriorityAllocateInfoEXTBuilder<'a>
impl<'a> RefUnwindSafe for MemoryPriorityAllocateInfoEXTBuilder<'a>
impl<'a> !Send for MemoryPriorityAllocateInfoEXTBuilder<'a>
impl<'a> !Sync for MemoryPriorityAllocateInfoEXTBuilder<'a>
impl<'a> Unpin for MemoryPriorityAllocateInfoEXTBuilder<'a>
impl<'a> UnwindSafe for MemoryPriorityAllocateInfoEXTBuilder<'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