pub trait SparseBindingOpBatch {
// Required method
fn make_info_struct<'a>(&'a self) -> BindSparseInfo<'a>;
// Provided methods
fn with_buffer_binds<'d>(
self,
buffer_binds: &'d [VkSparseBufferMemoryBindInfo],
) -> SparseBindingOpBatchWithBufferBinds<'d, Self>
where Self: Sized { ... }
fn with_image_binds<'d>(
self,
buffer_binds: &'d [VkSparseImageMemoryBindInfo],
) -> SparseBindingOpBatchWithImageBinds<'d, Self>
where Self: Sized { ... }
fn with_image_opaque_binds<'d>(
self,
buffer_binds: &'d [VkSparseImageOpaqueMemoryBindInfo],
) -> SparseBindingOpBatchWithImageOpaqueBinds<'d, Self>
where Self: Sized { ... }
fn with_wait_semaphores<'d, Semaphore: Semaphore + 'd>(
self,
semaphores: &'d [Semaphore],
) -> SparseBindingOpBatchWithWaitSemaphores<'d, Self, Semaphore>
where Self: Sized { ... }
fn with_signal_semaphores<'d, Semaphore: Semaphore + 'd>(
self,
semaphores: &'d [Semaphore],
) -> SparseBindingOpBatchWithSignalSemaphores<'d, Self, Semaphore>
where Self: Sized { ... }
}Required Methods§
fn make_info_struct<'a>(&'a self) -> BindSparseInfo<'a>
Provided Methods§
fn with_buffer_binds<'d>(
self,
buffer_binds: &'d [VkSparseBufferMemoryBindInfo],
) -> SparseBindingOpBatchWithBufferBinds<'d, Self>where
Self: Sized,
fn with_image_binds<'d>(
self,
buffer_binds: &'d [VkSparseImageMemoryBindInfo],
) -> SparseBindingOpBatchWithImageBinds<'d, Self>where
Self: Sized,
fn with_image_opaque_binds<'d>(
self,
buffer_binds: &'d [VkSparseImageOpaqueMemoryBindInfo],
) -> SparseBindingOpBatchWithImageOpaqueBinds<'d, Self>where
Self: Sized,
fn with_wait_semaphores<'d, Semaphore: Semaphore + 'd>(
self,
semaphores: &'d [Semaphore],
) -> SparseBindingOpBatchWithWaitSemaphores<'d, Self, Semaphore>where
Self: Sized,
fn with_signal_semaphores<'d, Semaphore: Semaphore + 'd>(
self,
semaphores: &'d [Semaphore],
) -> SparseBindingOpBatchWithSignalSemaphores<'d, Self, Semaphore>where
Self: Sized,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".