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
.
Implementations§
Trait Implementations§
source§impl Debug for BindGroupLayout
impl Debug 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