pub trait MorphContext: Context + 'static {
// Required methods
fn morph(&mut self, next: impl Morph<Context = Self>);
fn next_state(&mut self) -> Option<Box<dyn Morph<Context = Self>>>;
}Required Methods§
fn morph(&mut self, next: impl Morph<Context = Self>)
fn next_state(&mut self) -> Option<Box<dyn Morph<Context = Self>>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.