Struct ash::vk::MappedMemoryRangeBuilder
source · #[repr(transparent)]pub struct MappedMemoryRangeBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> MappedMemoryRangeBuilder<'a>
impl<'a> MappedMemoryRangeBuilder<'a>
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) -> MappedMemoryRange
pub fn build(self) -> MappedMemoryRange
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.