Struct ash::vk::MappedMemoryRangeBuilder
source · 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.
Trait Implementations§
source§impl<'a> Deref for MappedMemoryRangeBuilder<'a>
impl<'a> Deref for MappedMemoryRangeBuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for MappedMemoryRangeBuilder<'a>
impl<'a> !Send for MappedMemoryRangeBuilder<'a>
impl<'a> !Sync for MappedMemoryRangeBuilder<'a>
impl<'a> Unpin for MappedMemoryRangeBuilder<'a>
impl<'a> UnwindSafe for MappedMemoryRangeBuilder<'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