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§
impl Eq for BindGroup
Source§impl Ord for BindGroup
impl Ord for BindGroup
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for BindGroup
impl !UnwindSafe for BindGroup
impl Forget for BindGroup
impl Freeze for BindGroupwhere
*const ArcInner<CoreBindGroup> is !null: Freeze,
PhantomData<ArcInner<CoreBindGroup>>: Freeze,
*const ArcInner<dyn BindGroupInterface> is !null: Freeze,
PhantomData<ArcInner<dyn BindGroupInterface>>: Freeze,
impl Move for BindGroup
impl Send for BindGroup
impl Sync for BindGroup
impl Unpin for BindGroup
impl UnsafeUnpin for BindGroupwhere
*const ArcInner<CoreBindGroup> is !null: UnsafeUnpin,
PhantomData<ArcInner<CoreBindGroup>>: UnsafeUnpin,
*const ArcInner<dyn BindGroupInterface> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn BindGroupInterface>>: UnsafeUnpin,
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CommonTraits for T
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.