pub struct SparseMemoryBindBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> SparseMemoryBindBuilder<'a>
impl<'a> SparseMemoryBindBuilder<'a>
pub fn resource_offset(self, resource_offset: DeviceSize) -> Self
pub fn size(self, size: DeviceSize) -> Self
pub fn memory(self, memory: DeviceMemory) -> Self
pub fn memory_offset(self, memory_offset: DeviceSize) -> Self
pub fn flags(self, flags: SparseMemoryBindFlags) -> Self
Sourcepub fn build(self) -> SparseMemoryBind
pub fn build(self) -> SparseMemoryBind
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 SparseMemoryBindBuilder<'a>
impl<'a> Deref for SparseMemoryBindBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for SparseMemoryBindBuilder<'a>
impl<'a> RefUnwindSafe for SparseMemoryBindBuilder<'a>
impl<'a> Send for SparseMemoryBindBuilder<'a>
impl<'a> Sync for SparseMemoryBindBuilder<'a>
impl<'a> Unpin for SparseMemoryBindBuilder<'a>
impl<'a> UnwindSafe for SparseMemoryBindBuilder<'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