Struct wgpu::CommandBuffer
source · pub struct CommandBuffer { /* private fields */ }
Expand description
Handle to a command buffer on the GPU.
A CommandBuffer
represents a complete sequence of commands that may be submitted to a command
queue with Queue::submit
. A CommandBuffer
is obtained by recording a series of commands to
a CommandEncoder
and then calling CommandEncoder::finish
.
Corresponds to WebGPU GPUCommandBuffer
.
Trait Implementations§
source§impl Debug for CommandBuffer
impl Debug for CommandBuffer
source§impl Hash for CommandBuffer
impl Hash for CommandBuffer
source§impl Ord for CommandBuffer
impl Ord for CommandBuffer
source§impl PartialEq for CommandBuffer
impl PartialEq for CommandBuffer
source§impl PartialOrd for CommandBuffer
impl PartialOrd for CommandBuffer
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for CommandBuffer
Auto Trait Implementations§
impl !RefUnwindSafe for CommandBuffer
impl Send for CommandBuffer
impl Sync for CommandBuffer
impl Unpin for CommandBuffer
impl !UnwindSafe for CommandBuffer
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more