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> !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