Struct ash::vk::SparseBufferMemoryBindInfoBuilder
source · 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