Struct ash::vk::MemoryUnmapInfoKHRBuilder
source · pub struct MemoryUnmapInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> MemoryUnmapInfoKHRBuilder<'a>
impl<'a> MemoryUnmapInfoKHRBuilder<'a>
pub fn flags(self, flags: MemoryUnmapFlagsKHR) -> Self
pub fn memory(self, memory: DeviceMemory) -> Self
sourcepub fn build(self) -> MemoryUnmapInfoKHR
pub fn build(self) -> MemoryUnmapInfoKHR
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 MemoryUnmapInfoKHRBuilder<'a>
impl<'a> Deref for MemoryUnmapInfoKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for MemoryUnmapInfoKHRBuilder<'a>
impl<'a> RefUnwindSafe for MemoryUnmapInfoKHRBuilder<'a>
impl<'a> !Send for MemoryUnmapInfoKHRBuilder<'a>
impl<'a> !Sync for MemoryUnmapInfoKHRBuilder<'a>
impl<'a> Unpin for MemoryUnmapInfoKHRBuilder<'a>
impl<'a> UnwindSafe for MemoryUnmapInfoKHRBuilder<'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