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