pub trait BindGroupTarget {
// Required methods
fn bind_group_layout(&self) -> &BindGroupLayout;
fn binding_entries(&self) -> &[BindingEntry];
}Expand description
Implemented by uploaded pipeline types (GPUMaterial,
GPUCompute) so a BindingInstance
can build a bind group against them.
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".