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 PartialEq for BindGroup
impl PartialEq for BindGroup
source§impl PartialOrd for BindGroup
impl PartialOrd for BindGroup
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for BindGroup
Auto Trait Implementations§
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more