pub struct ResolvedBindGroupDescriptor<'a> {
pub label: Label<'a>,
pub layout: Arc<BindGroupLayout>,
pub entries: Cow<'a, [ResolvedBindGroupEntry<'a>]>,
}
Expand description
Describes a group of bindings and the resources to be bound.
Fields§
§label: Label<'a>
Debug label of the bind group.
This will show up in graphics debuggers for easy identification.
layout: Arc<BindGroupLayout>
The BindGroupLayout
that corresponds to this bind group.
entries: Cow<'a, [ResolvedBindGroupEntry<'a>]>
The resources to bind to this bind group.
Trait Implementations§
Source§impl<'a> Clone for ResolvedBindGroupDescriptor<'a>
impl<'a> Clone for ResolvedBindGroupDescriptor<'a>
Source§fn clone(&self) -> ResolvedBindGroupDescriptor<'a>
fn clone(&self) -> ResolvedBindGroupDescriptor<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for ResolvedBindGroupDescriptor<'a>
impl<'a> !RefUnwindSafe for ResolvedBindGroupDescriptor<'a>
impl<'a> Send for ResolvedBindGroupDescriptor<'a>
impl<'a> Sync for ResolvedBindGroupDescriptor<'a>
impl<'a> Unpin for ResolvedBindGroupDescriptor<'a>
impl<'a> !UnwindSafe for ResolvedBindGroupDescriptor<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more