pub trait BindGroupTarget {
// Required methods
fn bind_group_layout(&self) -> &BindGroupLayout;
fn binding_entries(&self) -> &[BindingEntry];
}Expand description
Implemented by GPUMaterial and
GPUCompute — anything with its own bind
group layout and named entries that a
GPUBindingInstance can bind
concrete resources against.
Required Methods§
fn bind_group_layout(&self) -> &BindGroupLayout
fn binding_entries(&self) -> &[BindingEntry]
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".