pub struct ComputeQueue { /* private fields */ }Expand description
(G5d) a queue of its own for compute: WebGPU has one queue, so Device::compute_queue is None here and there is no value of this type
Implementations§
Source§impl ComputeQueue
impl ComputeQueue
pub fn encoder(&self) -> Result<CommandEncoder<'_>>
pub fn submit<'a, I: IntoIterator<Item = CommandBuffer<'a>>>( &self, _cmds: I, ) -> Result<SubmitId>
pub fn submit_after<'a, I: IntoIterator<Item = CommandBuffer<'a>>>( &self, _wait: &[SubmitId], _cmds: I, ) -> Result<SubmitId>
Trait Implementations§
Auto Trait Implementations§
impl Forget for ComputeQueue
impl Freeze for ComputeQueue
impl Move for ComputeQueue
impl RefUnwindSafe for ComputeQueue
impl Send for ComputeQueue
impl Sync for ComputeQueue
impl Unpin for ComputeQueue
impl UnsafeUnpin for ComputeQueue
impl UnwindSafe for ComputeQueue
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