Struct wgpu_types::CommandBufferDescriptor [−][src]
#[repr(C)]pub struct CommandBufferDescriptor<L> { pub label: L, }
Describes a [CommandBuffer
].
Fields
label: L
Debug label of this command buffer.
Implementations
impl<L> CommandBufferDescriptor<L>
[src]
impl<L> CommandBufferDescriptor<L>
[src]pub fn map_label<K>(
&self,
fun: impl FnOnce(&L) -> K
) -> CommandBufferDescriptor<K>
[src]
&self,
fun: impl FnOnce(&L) -> K
) -> CommandBufferDescriptor<K>
Trait Implementations
impl<L: Clone> Clone for CommandBufferDescriptor<L>
[src]
impl<L: Clone> Clone for CommandBufferDescriptor<L>
[src]fn clone(&self) -> CommandBufferDescriptor<L>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<L: Debug> Debug for CommandBufferDescriptor<L>
[src]
impl<L: Debug> Debug for CommandBufferDescriptor<L>
[src]impl<L: Default> Default for CommandBufferDescriptor<L>
[src]
impl<L: Default> Default for CommandBufferDescriptor<L>
[src]fn default() -> CommandBufferDescriptor<L>
[src]
impl<L: Eq> Eq for CommandBufferDescriptor<L>
[src]
impl<L: Eq> Eq for CommandBufferDescriptor<L>
[src]impl<L: Hash> Hash for CommandBufferDescriptor<L>
[src]
impl<L: Hash> Hash for CommandBufferDescriptor<L>
[src]impl<L: PartialEq> PartialEq<CommandBufferDescriptor<L>> for CommandBufferDescriptor<L>
[src]
impl<L: PartialEq> PartialEq<CommandBufferDescriptor<L>> for CommandBufferDescriptor<L>
[src]fn eq(&self, other: &CommandBufferDescriptor<L>) -> bool
[src]
fn ne(&self, other: &CommandBufferDescriptor<L>) -> bool
[src]
impl<L> StructuralEq for CommandBufferDescriptor<L>
[src]
impl<L> StructuralEq for CommandBufferDescriptor<L>
[src]impl<L> StructuralPartialEq for CommandBufferDescriptor<L>
[src]
impl<L> StructuralPartialEq for CommandBufferDescriptor<L>
[src]Auto Trait Implementations
impl<L> RefUnwindSafe for CommandBufferDescriptor<L> where
L: RefUnwindSafe,
impl<L> RefUnwindSafe for CommandBufferDescriptor<L> where
L: RefUnwindSafe,
impl<L> Send for CommandBufferDescriptor<L> where
L: Send,
impl<L> Send for CommandBufferDescriptor<L> where
L: Send,
impl<L> Sync for CommandBufferDescriptor<L> where
L: Sync,
impl<L> Sync for CommandBufferDescriptor<L> where
L: Sync,
impl<L> Unpin for CommandBufferDescriptor<L> where
L: Unpin,
impl<L> Unpin for CommandBufferDescriptor<L> where
L: Unpin,
impl<L> UnwindSafe for CommandBufferDescriptor<L> where
L: UnwindSafe,
impl<L> UnwindSafe for CommandBufferDescriptor<L> where
L: UnwindSafe,