Struct wgpu_types::RenderBundleDescriptor
source · [−]#[repr(C)]pub struct RenderBundleDescriptor<L> {
pub label: L,
}
Expand description
Describes a RenderBundle
.
Corresponds to WebGPU GPURenderBundleDescriptor
.
Fields
label: L
Debug label of the render bundle encoder. This will show up in graphics debuggers for easy identification.
Implementations
sourceimpl<L> RenderBundleDescriptor<L>
impl<L> RenderBundleDescriptor<L>
sourcepub fn map_label<K>(
&self,
fun: impl FnOnce(&L) -> K
) -> RenderBundleDescriptor<K>
pub fn map_label<K>(
&self,
fun: impl FnOnce(&L) -> K
) -> RenderBundleDescriptor<K>
Trait Implementations
sourceimpl<L: Clone> Clone for RenderBundleDescriptor<L>
impl<L: Clone> Clone for RenderBundleDescriptor<L>
sourcefn clone(&self) -> RenderBundleDescriptor<L>
fn clone(&self) -> RenderBundleDescriptor<L>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<L: Debug> Debug for RenderBundleDescriptor<L>
impl<L: Debug> Debug for RenderBundleDescriptor<L>
sourceimpl<T> Default for RenderBundleDescriptor<Option<T>>
impl<T> Default for RenderBundleDescriptor<Option<T>>
sourceimpl<L: Hash> Hash for RenderBundleDescriptor<L>
impl<L: Hash> Hash for RenderBundleDescriptor<L>
sourceimpl<L: PartialEq> PartialEq<RenderBundleDescriptor<L>> for RenderBundleDescriptor<L>
impl<L: PartialEq> PartialEq<RenderBundleDescriptor<L>> for RenderBundleDescriptor<L>
sourcefn eq(&self, other: &RenderBundleDescriptor<L>) -> bool
fn eq(&self, other: &RenderBundleDescriptor<L>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RenderBundleDescriptor<L>) -> bool
fn ne(&self, other: &RenderBundleDescriptor<L>) -> bool
This method tests for !=
.
impl<L: Eq> Eq for RenderBundleDescriptor<L>
impl<L> StructuralEq for RenderBundleDescriptor<L>
impl<L> StructuralPartialEq for RenderBundleDescriptor<L>
Auto Trait Implementations
impl<L> RefUnwindSafe for RenderBundleDescriptor<L> where
L: RefUnwindSafe,
impl<L> Send for RenderBundleDescriptor<L> where
L: Send,
impl<L> Sync for RenderBundleDescriptor<L> where
L: Sync,
impl<L> Unpin for RenderBundleDescriptor<L> where
L: Unpin,
impl<L> UnwindSafe for RenderBundleDescriptor<L> where
L: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more