[−][src]Struct wgpu::CommandBufferDescriptor
Describes a [CommandBuffer
].
Fields
label: L
Implementations
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]
L: Clone,
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]
L: Debug,
impl<L> Default for CommandBufferDescriptor<L> where
L: Default,
[src]
L: Default,
pub fn default() -> CommandBufferDescriptor<L>
[src]
impl<'de, L> Deserialize<'de> for CommandBufferDescriptor<L> where
L: Deserialize<'de>,
[src]
L: Deserialize<'de>,
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]
L: Eq,
impl<L> Hash for CommandBufferDescriptor<L> where
L: Hash,
[src]
L: Hash,
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<L> PartialEq<CommandBufferDescriptor<L>> for CommandBufferDescriptor<L> where
L: PartialEq<L>,
[src]
L: PartialEq<L>,
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]
L: Serialize,
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> StructuralPartialEq for CommandBufferDescriptor<L>
[src]
Auto Trait Implementations
impl<L> RefUnwindSafe for CommandBufferDescriptor<L> where
L: RefUnwindSafe,
L: RefUnwindSafe,
impl<L> Send for CommandBufferDescriptor<L> where
L: Send,
L: Send,
impl<L> Sync for CommandBufferDescriptor<L> where
L: Sync,
L: Sync,
impl<L> Unpin for CommandBufferDescriptor<L> where
L: Unpin,
L: Unpin,
impl<L> UnwindSafe for CommandBufferDescriptor<L> where
L: UnwindSafe,
L: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,