Trait Substep

Source
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§

Source

fn new() -> Self

Source

fn after_moves(&self, moves: &[Move]) -> Self

Source

fn solved(&self) -> bool

Source

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.

Implementors§