[][src]Enum myopic_brain::search::SearchCommand

pub enum SearchCommand<B: EvalBoard> {
    Go,
    GoOnce,
    Stop,
    Close,
    Root(B),
    Infinite,
    Depth(usize),
    Time(usize),
    GameTime {
        w_base: usize,
        w_inc: usize,
        b_base: usize,
        b_inc: usize,
    },
}

Variants

Go
GoOnce
Stop
Close
Root(B)
Infinite
Depth(usize)
Time(usize)
GameTime

Fields of GameTime

w_base: usizew_inc: usizeb_base: usizeb_inc: usize

Trait Implementations

impl<B: Clone + EvalBoard> Clone for SearchCommand<B>[src]

impl<B: Debug + EvalBoard> Debug for SearchCommand<B>[src]

impl<B: PartialEq + EvalBoard> PartialEq<SearchCommand<B>> for SearchCommand<B>[src]

impl<B: EvalBoard> StructuralPartialEq for SearchCommand<B>[src]

Auto Trait Implementations

impl<B> RefUnwindSafe for SearchCommand<B> where
    B: RefUnwindSafe

impl<B> Send for SearchCommand<B>

impl<B> Sync for SearchCommand<B> where
    B: Sync

impl<B> Unpin for SearchCommand<B> where
    B: Unpin

impl<B> UnwindSafe for SearchCommand<B> where
    B: UnwindSafe

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.