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