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 Drop for BindGroupLayout
impl Drop 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
impl Eq for BindGroupLayout
Auto Trait Implementations§
impl Freeze for BindGroupLayout
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
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.