pub struct BindGroup { /* private fields */ }
Expand description
Handle to a binding group.
A BindGroup
represents the set of resources bound to the bindings described by a
BindGroupLayout
. It can be created with Device::create_bind_group
. A BindGroup
can
be bound to a particular RenderPass
with RenderPass::set_bind_group
, or to a
ComputePass
with ComputePass::set_bind_group
.
Corresponds to WebGPU GPUBindGroup
.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BindGroup
impl !RefUnwindSafe for BindGroup
impl Send for BindGroup
impl Sync for BindGroup
impl Unpin for BindGroup
impl !UnwindSafe for BindGroup
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