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