pub struct SparseBufferMemoryBindInfoBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> SparseBufferMemoryBindInfoBuilder<'a>
impl<'a> SparseBufferMemoryBindInfoBuilder<'a>
pub fn buffer(self, buffer: Buffer) -> Self
pub fn binds(self, binds: &'a [SparseMemoryBind]) -> Self
Sourcepub fn build(self) -> SparseBufferMemoryBindInfo
pub fn build(self) -> SparseBufferMemoryBindInfo
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 SparseBufferMemoryBindInfoBuilder<'a>
impl<'a> Deref for SparseBufferMemoryBindInfoBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for SparseBufferMemoryBindInfoBuilder<'a>
impl<'a> RefUnwindSafe for SparseBufferMemoryBindInfoBuilder<'a>
impl<'a> !Send for SparseBufferMemoryBindInfoBuilder<'a>
impl<'a> !Sync for SparseBufferMemoryBindInfoBuilder<'a>
impl<'a> Unpin for SparseBufferMemoryBindInfoBuilder<'a>
impl<'a> UnwindSafe for SparseBufferMemoryBindInfoBuilder<'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