[][src]Struct uciengine::uciengine::GoJob

pub struct GoJob { /* fields omitted */ }

go command job

Implementations

impl GoJob[src]

go command job implementation

pub fn new() -> GoJob[src]

create new GoJob with reasonable defaults

pub fn custom<T>(self, command: T) -> GoJob where
    T: Display
[src]

custom command

pub fn to_commands(&self) -> Vec<String>[src]

to commands

pub fn pos_fen<T>(self, fen: T) -> GoJob where
    T: Display
[src]

set position fen and return self

pub fn pos_startpos(self) -> GoJob[src]

set position startpos and return self

pub fn pos_moves<T>(self, moves: T) -> GoJob where
    T: Display
[src]

set position moves and return self

pub fn uci_opt<K, V>(self, key: K, value: V) -> GoJob where
    K: Display,
    V: Display
[src]

set uci option as key value pair and return self

pub fn go_opt<K, V>(self, key: K, value: V) -> GoJob where
    K: Display,
    V: Display
[src]

set go option as key value pair and return self

pub fn tc(self, tc: Timecontrol) -> GoJob[src]

set time control and return self

Trait Implementations

impl Debug for GoJob[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.