Struct wgpu::BindGroupLayout
source · pub struct BindGroupLayout { /* private fields */ }
Expand description
Handle to a binding group layout.
A BindGroupLayout
is a handle to the GPU-side layout of a binding group. It can be used to
create a BindGroupDescriptor
object, which in turn can be used to create a BindGroup
object with Device::create_bind_group
. A series of BindGroupLayout
s can also be used to
create a PipelineLayoutDescriptor
, which can be used to create a PipelineLayout
.
It can be created with Device::create_bind_group_layout
.
Corresponds to WebGPU GPUBindGroupLayout
.
Trait Implementations§
source§impl Debug for BindGroupLayout
impl Debug for BindGroupLayout
source§impl Hash for BindGroupLayout
impl Hash for BindGroupLayout
source§impl Ord for BindGroupLayout
impl Ord for BindGroupLayout
source§impl PartialEq for BindGroupLayout
impl PartialEq for BindGroupLayout
source§impl PartialOrd for BindGroupLayout
impl PartialOrd for BindGroupLayout
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 BindGroupLayout
Auto Trait Implementations§
impl !RefUnwindSafe for BindGroupLayout
impl Send for BindGroupLayout
impl Sync for BindGroupLayout
impl Unpin for BindGroupLayout
impl !UnwindSafe for BindGroupLayout
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