[][src]Struct myopic_brain::SearchOutcome

pub struct SearchOutcome {
    pub best_move: Move,
    pub eval: i32,
    pub depth: usize,
    pub time: Duration,
    pub optimal_path: Vec<Move>,
}

Data class composing information/result about/of a best move search.

Fields

best_move: Moveeval: i32depth: usizetime: Durationoptimal_path: Vec<Move>

Trait Implementations

impl Clone for SearchOutcome[src]

impl Debug for SearchOutcome[src]

impl Eq for SearchOutcome[src]

impl PartialEq<SearchOutcome> for SearchOutcome[src]

impl Serialize for SearchOutcome[src]

impl StructuralEq for SearchOutcome[src]

impl StructuralPartialEq for SearchOutcome[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> 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.