pub trait RenderModuleReplayAsyncTrait<'frame, ConfigType, RenderCommandType, LayoutModule> {
// Required method
async fn replay(
&mut self,
render_commands: impl Iterator<Item = RenderCommandType>,
layout: &mut LayoutModule,
);
}Expand description
Async renderer replay: init(layout) followed by draw_frame(commands).await.
Required Methods§
Sourceasync fn replay(
&mut self,
render_commands: impl Iterator<Item = RenderCommandType>,
layout: &mut LayoutModule,
)
async fn replay( &mut self, render_commands: impl Iterator<Item = RenderCommandType>, layout: &mut LayoutModule, )
Initializes the renderer against layout, then draws render_commands asynchronously.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".