pub trait StatePlace: Clone + PartialEq {
// Required methods
fn steps(&self) -> &[Step];
fn with_steps(&self, steps: Vec<Step>) -> Self;
fn same_root(&self, other: &Self) -> bool;
}Expand description
A place in an app’s state, as its runner names one.
Required Methods§
Sourcefn with_steps(&self, steps: Vec<Step>) -> Self
fn with_steps(&self, steps: Vec<Step>) -> Self
The same state, with steps instead.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".