pub trait StatefulHandler {
// Required method
fn update_state(&mut self, state: PipelineState);
}Expand description
Trait for handlers that maintain internal state.
This trait allows the event loop to update the handler’s internal state after each event is processed.
Required Methods§
Sourcefn update_state(&mut self, state: PipelineState)
fn update_state(&mut self, state: PipelineState)
Update the handler’s internal state.