pub trait AnyPipeline:
Any
+ Debug
+ Send
+ Sync {
// Required methods
fn append(&mut self, data: &dyn Any, layer: u8);
fn prepare(
&mut self,
driver: &Driver,
encoder: &mut CommandEncoder,
config: &SurfaceConfiguration,
);
fn draw(&mut self, driver: &Driver, pass: &mut RenderPass<'_>, layer: u8);
}