pub struct RootMove {
pub mv: Move,
pub score: f64,
pub threats: usize,
pub ply: i8,
}Expand description
Structure that defines a rootmove.
A rootmove is a move that can store other data associated with the root of a search tree. This data includes the ply of the move and
the score of the move.
Fields§
§mv: Move§score: f64§threats: usize§ply: i8Implementations§
Trait Implementations§
impl Copy for RootMove
impl StructuralPartialEq for RootMove
Auto Trait Implementations§
impl Freeze for RootMove
impl RefUnwindSafe for RootMove
impl Send for RootMove
impl Sync for RootMove
impl Unpin for RootMove
impl UnsafeUnpin for RootMove
impl UnwindSafe for RootMove
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