pub struct StrategicEvaluation {
pub base_evaluation: f32,
pub initiative_bonus: f32,
pub attacking_bonus: f32,
pub coordination_bonus: f32,
pub plan_bonus: f32,
pub total_evaluation: f32,
pub recommended_plan: Option<PositionalPlan>,
pub attacking_moves: Vec<ChessMove>,
pub positional_moves: Vec<ChessMove>,
}Expand description
Result of strategic evaluation
Fields§
§base_evaluation: f32§initiative_bonus: f32§attacking_bonus: f32§coordination_bonus: f32§plan_bonus: f32§total_evaluation: f32§recommended_plan: Option<PositionalPlan>§attacking_moves: Vec<ChessMove>§positional_moves: Vec<ChessMove>Trait Implementations§
Source§impl Clone for StrategicEvaluation
impl Clone for StrategicEvaluation
Source§fn clone(&self) -> StrategicEvaluation
fn clone(&self) -> StrategicEvaluation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StrategicEvaluation
impl RefUnwindSafe for StrategicEvaluation
impl Send for StrategicEvaluation
impl Sync for StrategicEvaluation
impl Unpin for StrategicEvaluation
impl UnwindSafe for StrategicEvaluation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more