[−][src]Struct uciengine::uciengine::GoJob
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]
T: Display,
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]
T: Display,
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]
T: Display,
set position moves and return self
pub fn uci_opt<K, V>(self, key: K, value: V) -> GoJob where
K: Display,
V: Display,
[src]
K: Display,
V: Display,
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]
K: Display,
V: Display,
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
Auto Trait Implementations
impl !RefUnwindSafe for GoJob
[src]
impl Send for GoJob
[src]
impl Sync for GoJob
[src]
impl Unpin for GoJob
[src]
impl !UnwindSafe for GoJob
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,