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 Clone for CommandBuffer
impl Clone for CommandBuffer
Source§fn clone(&self) -> CommandBuffer
fn clone(&self) -> CommandBuffer
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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
impl Eq for CommandBuffer
Auto Trait Implementations§
impl Freeze for CommandBuffer
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.