Struct wgpu_types::CommandBufferDescriptor
source · #[repr(C)]pub struct CommandBufferDescriptor<L> {
pub label: L,
}Expand description
Describes a [CommandBuffer].
Fields§
§label: LDebug label of this command buffer.
Implementations§
source§impl<L> CommandBufferDescriptor<L>
impl<L> CommandBufferDescriptor<L>
sourcepub fn map_label<K>(
&self,
fun: impl FnOnce(&L) -> K
) -> CommandBufferDescriptor<K>
pub fn map_label<K>(
&self,
fun: impl FnOnce(&L) -> K
) -> CommandBufferDescriptor<K>
Trait Implementations§
source§impl<L: Clone> Clone for CommandBufferDescriptor<L>
impl<L: Clone> Clone for CommandBufferDescriptor<L>
source§fn clone(&self) -> CommandBufferDescriptor<L>
fn clone(&self) -> CommandBufferDescriptor<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 moresource§impl<L: Debug> Debug for CommandBufferDescriptor<L>
impl<L: Debug> Debug for CommandBufferDescriptor<L>
source§impl<L: Default> Default for CommandBufferDescriptor<L>
impl<L: Default> Default for CommandBufferDescriptor<L>
source§fn default() -> CommandBufferDescriptor<L>
fn default() -> CommandBufferDescriptor<L>
Returns the “default value” for a type. Read more