Struct ash::vk::MemoryDedicatedRequirementsBuilder
source · pub struct MemoryDedicatedRequirementsBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> MemoryDedicatedRequirementsBuilder<'a>
impl<'a> MemoryDedicatedRequirementsBuilder<'a>
pub fn prefers_dedicated_allocation( self, prefers_dedicated_allocation: bool ) -> Self
pub fn requires_dedicated_allocation( self, requires_dedicated_allocation: bool ) -> Self
sourcepub fn build(self) -> MemoryDedicatedRequirements
pub fn build(self) -> MemoryDedicatedRequirements
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 MemoryDedicatedRequirementsBuilder<'a>
impl<'a> Deref for MemoryDedicatedRequirementsBuilder<'a>
source§impl<'a> DerefMut for MemoryDedicatedRequirementsBuilder<'a>
impl<'a> DerefMut for MemoryDedicatedRequirementsBuilder<'a>
impl ExtendsMemoryRequirements2 for MemoryDedicatedRequirementsBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for MemoryDedicatedRequirementsBuilder<'a>
impl<'a> RefUnwindSafe for MemoryDedicatedRequirementsBuilder<'a>
impl<'a> !Send for MemoryDedicatedRequirementsBuilder<'a>
impl<'a> !Sync for MemoryDedicatedRequirementsBuilder<'a>
impl<'a> Unpin for MemoryDedicatedRequirementsBuilder<'a>
impl<'a> UnwindSafe for MemoryDedicatedRequirementsBuilder<'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