pub trait QueueMut: Queue + VkHandleMut {
// Provided methods
fn wait(&mut self) -> Result<()> { ... }
fn bind_sparse(
&mut self,
batches: &[impl SparseBindingOpBatch],
fence: Option<VkHandleRefMut<'_, VkFence>>,
) -> Result<()> { ... }
unsafe fn bind_sparse_raw(
&mut self,
batches: &[VkBindSparseInfo],
fence: Option<VkHandleRefMut<'_, VkFence>>,
) -> Result<()> { ... }
fn submit(
&mut self,
batches: &[impl SubmissionBatch],
fence: Option<VkHandleRefMut<'_, VkFence>>,
) -> Result<()> { ... }
unsafe fn submit_raw(
&mut self,
batches: &[SubmitInfo<'_, '_, '_>],
fence: Option<VkHandleRefMut<'_, VkFence>>,
) -> Result<()> { ... }
fn submit2_khr(
&mut self,
device: &(impl DeviceSynchronization2Extension + ?Sized),
batches: &[SubmitInfo2<'_, '_>],
fence: Option<VkHandleRefMut<'_, VkFence>>,
) -> Result<()> { ... }
fn present<'r>(&mut self, info: &PresentInfo<'r>) -> Result<()> { ... }
}Provided Methods§
Sourcefn bind_sparse(
&mut self,
batches: &[impl SparseBindingOpBatch],
fence: Option<VkHandleRefMut<'_, VkFence>>,
) -> Result<()>
fn bind_sparse( &mut self, batches: &[impl SparseBindingOpBatch], fence: Option<VkHandleRefMut<'_, VkFence>>, ) -> Result<()>
Bind device memory to a sparse resource object
§Failure
On failure, this command returns
VK_ERROR_OUT_OF_HOST_MEMORYVK_ERROR_OUT_OF_DEVICE_MEMORYVK_ERROR_DEVICE_LOST
Sourceunsafe fn bind_sparse_raw(
&mut self,
batches: &[VkBindSparseInfo],
fence: Option<VkHandleRefMut<'_, VkFence>>,
) -> Result<()>
unsafe fn bind_sparse_raw( &mut self, batches: &[VkBindSparseInfo], fence: Option<VkHandleRefMut<'_, VkFence>>, ) -> Result<()>
Sourcefn submit(
&mut self,
batches: &[impl SubmissionBatch],
fence: Option<VkHandleRefMut<'_, VkFence>>,
) -> Result<()>
fn submit( &mut self, batches: &[impl SubmissionBatch], fence: Option<VkHandleRefMut<'_, VkFence>>, ) -> Result<()>
Submits a sequence of semaphores or command buffers to a queue
§Failure
On failure, this command returns
VK_ERROR_OUT_OF_HOST_MEMORYVK_ERROR_OUT_OF_DEVICE_MEMORYVK_ERROR_DEVICE_LOST
Sourceunsafe fn submit_raw(
&mut self,
batches: &[SubmitInfo<'_, '_, '_>],
fence: Option<VkHandleRefMut<'_, VkFence>>,
) -> Result<()>
unsafe fn submit_raw( &mut self, batches: &[SubmitInfo<'_, '_, '_>], fence: Option<VkHandleRefMut<'_, VkFence>>, ) -> Result<()>
Sourcefn submit2_khr(
&mut self,
device: &(impl DeviceSynchronization2Extension + ?Sized),
batches: &[SubmitInfo2<'_, '_>],
fence: Option<VkHandleRefMut<'_, VkFence>>,
) -> Result<()>
fn submit2_khr( &mut self, device: &(impl DeviceSynchronization2Extension + ?Sized), batches: &[SubmitInfo2<'_, '_>], fence: Option<VkHandleRefMut<'_, VkFence>>, ) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.