Struct wgpu::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 for CommandBufferDescriptor<L> where
L: Clone,
[src]
impl<L> Clone for CommandBufferDescriptor<L> where
L: Clone,
[src]pub fn clone(&self) -> CommandBufferDescriptor<L>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<L> Debug for CommandBufferDescriptor<L> where
L: Debug,
[src]
impl<L> Debug for CommandBufferDescriptor<L> where
L: Debug,
[src]impl<L> Default for CommandBufferDescriptor<L> where
L: Default,
[src]
impl<L> Default for CommandBufferDescriptor<L> where
L: Default,
[src]pub fn default() -> CommandBufferDescriptor<L>
[src]
impl<'de, L> Deserialize<'de> for CommandBufferDescriptor<L> where
L: Deserialize<'de>,
[src]
impl<'de, L> Deserialize<'de> for CommandBufferDescriptor<L> where
L: Deserialize<'de>,
[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<CommandBufferDescriptor<L>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<CommandBufferDescriptor<L>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl<L> Eq for CommandBufferDescriptor<L> where
L: Eq,
[src]
impl<L> Eq for CommandBufferDescriptor<L> where
L: Eq,
[src]impl<L> Hash for CommandBufferDescriptor<L> where
L: Hash,
[src]
impl<L> Hash for CommandBufferDescriptor<L> where
L: Hash,
[src]impl<L> PartialEq<CommandBufferDescriptor<L>> for CommandBufferDescriptor<L> where
L: PartialEq<L>,
[src]
impl<L> PartialEq<CommandBufferDescriptor<L>> for CommandBufferDescriptor<L> where
L: PartialEq<L>,
[src]pub fn eq(&self, other: &CommandBufferDescriptor<L>) -> bool
[src]
pub fn ne(&self, other: &CommandBufferDescriptor<L>) -> bool
[src]
impl<L> Serialize for CommandBufferDescriptor<L> where
L: Serialize,
[src]
impl<L> Serialize for CommandBufferDescriptor<L> where
L: Serialize,
[src]pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
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,
Blanket Implementations
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]