Struct myopic_brain::SearchOutcome [−][src]
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: Move
eval: i32
depth: usize
time: Duration
optimal_path: Vec<Move>
Trait Implementations
impl Clone for SearchOutcome
[src]
impl Clone for SearchOutcome
[src]fn clone(&self) -> SearchOutcome
[src]
fn clone(&self) -> SearchOutcome
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for SearchOutcome
[src]
impl Debug for SearchOutcome
[src]impl PartialEq<SearchOutcome> for SearchOutcome
[src]
impl PartialEq<SearchOutcome> for SearchOutcome
[src]fn eq(&self, other: &SearchOutcome) -> bool
[src]
fn eq(&self, other: &SearchOutcome) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &SearchOutcome) -> bool
[src]
fn ne(&self, other: &SearchOutcome) -> bool
[src]This method tests for !=
.
impl Serialize for SearchOutcome
[src]
impl Serialize for SearchOutcome
[src]fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
[src]
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
[src]Serialize this value into the given Serde serializer. Read more
impl Eq for SearchOutcome
[src]
impl StructuralEq for SearchOutcome
[src]
impl StructuralPartialEq for SearchOutcome
[src]
Auto Trait Implementations
impl RefUnwindSafe for SearchOutcome
impl Send for SearchOutcome
impl Sync for SearchOutcome
impl Unpin for SearchOutcome
impl UnwindSafe for SearchOutcome
Blanket Implementations
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
pub fn borrow_mut(&mut self) -> &mut Tⓘ
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more