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