pub trait Bindable<B: Backend> {
// Required method
fn bind(&self, pass: &mut <B::Frame as FrameOperations>::Context<'_>);
}Expand description
Implement for types that can bind themselves (e.g. pipelines, bind groups) into a render context.
Required Methods§
fn bind(&self, pass: &mut <B::Frame as FrameOperations>::Context<'_>)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".