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