pub struct EngineOutput { /* private fields */ }Expand description
Represents the total output from the engine in regards to one specific position. Contains the engine’s score evaluation of the position as well as its determined best move.
Implementations§
Source§impl EngineOutput
impl EngineOutput
pub fn new(eval: EngineEval, best_move: String) -> Self
pub fn eval(&self) -> EngineEval
pub fn best_move(&self) -> &String
Trait Implementations§
Source§impl Debug for EngineOutput
impl Debug for EngineOutput
Source§impl Display for EngineOutput
impl Display for EngineOutput
Auto Trait Implementations§
impl Freeze for EngineOutput
impl RefUnwindSafe for EngineOutput
impl Send for EngineOutput
impl Sync for EngineOutput
impl Unpin for EngineOutput
impl UnwindSafe for EngineOutput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more