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> Freeze for MappedMemoryRangeBuilder<'a>
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