pub trait MoveTrait {
// Required methods
fn ft(from_sq: Square, to_sq: Square) -> Move;
fn from_sq(self) -> Square;
fn to_sq(self) -> Square;
fn uci(self) -> String;
}Expand description
MoveTrait adds methods to Move
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".