pub trait SplitViewProcess<X, Y = X, S: ?Sized = ()> {
// Required method
fn process_view(&self, state: &mut S, x: X, y: Y);
}Expand description
Split-state processing API over typed views.
Required Methods§
Sourcefn process_view(&self, state: &mut S, x: X, y: Y)
fn process_view(&self, state: &mut S, x: X, y: Y)
Process one typed input view into one typed output view.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".