Trait GtpBot

Source
pub trait GtpBot {
    // Required method
    fn select_action(
        &mut self,
        board: &GoBoard,
        time: &TimeInfo,
        log: &mut impl Write,
    ) -> Result<Action, BoardDone>;
}

Required Methods§

Source

fn select_action( &mut self, board: &GoBoard, time: &TimeInfo, log: &mut impl Write, ) -> Result<Action, BoardDone>

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§