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
.
Trait Implementations§
Source§impl Ord for BindGroup
impl Ord for BindGroup
Source§impl PartialOrd for BindGroup
impl PartialOrd for BindGroup
impl Eq for BindGroup
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
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.