Struct wgpu_types::CommandEncoderDescriptor
source · #[repr(C)]pub struct CommandEncoderDescriptor<L> {
pub label: L,
}Expand description
Describes a [CommandEncoder].
Fields§
§label: LDebug label for the command encoder. This will show up in graphics debuggers for easy identification.
Implementations§
source§impl<L> CommandEncoderDescriptor<L>
impl<L> CommandEncoderDescriptor<L>
sourcepub fn map_label<K>(
&self,
fun: impl FnOnce(&L) -> K
) -> CommandEncoderDescriptor<K>
pub fn map_label<K>(
&self,
fun: impl FnOnce(&L) -> K
) -> CommandEncoderDescriptor<K>
Trait Implementations§
source§impl<L: Clone> Clone for CommandEncoderDescriptor<L>
impl<L: Clone> Clone for CommandEncoderDescriptor<L>
source§fn clone(&self) -> CommandEncoderDescriptor<L>
fn clone(&self) -> CommandEncoderDescriptor<L>
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 more