pub trait Substep {
// Required methods
fn new() -> Self;
fn after_moves(&self, moves: &[Move]) -> Self;
fn solved(&self) -> bool;
fn comment() -> &'static str;
}
Required Methods§
fn new() -> Self
fn after_moves(&self, moves: &[Move]) -> Self
fn solved(&self) -> bool
fn comment() -> &'static str
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.