pub struct StrategicThemeAnalysis {
pub pawn_themes: Vec<MotifMatch>,
pub piece_coordination_themes: Vec<MotifMatch>,
pub king_safety_themes: Vec<MotifMatch>,
pub initiative_themes: Vec<MotifMatch>,
pub endgame_themes: Vec<MotifMatch>,
pub opening_themes: Vec<MotifMatch>,
}Expand description
Analysis of strategic themes found in a position
Fields§
§pawn_themes: Vec<MotifMatch>§piece_coordination_themes: Vec<MotifMatch>§king_safety_themes: Vec<MotifMatch>§initiative_themes: Vec<MotifMatch>§endgame_themes: Vec<MotifMatch>§opening_themes: Vec<MotifMatch>Implementations§
Source§impl StrategicThemeAnalysis
impl StrategicThemeAnalysis
pub fn new() -> Self
Sourcepub fn primary_theme(&self) -> Option<&MotifMatch>
pub fn primary_theme(&self) -> Option<&MotifMatch>
Get the most relevant theme in this position
Sourcepub fn theme_count(&self) -> usize
pub fn theme_count(&self) -> usize
Get total number of strategic themes identified
Sourcepub fn get_recommendations(&self) -> Vec<String>
pub fn get_recommendations(&self) -> Vec<String>
Get strategic recommendations based on identified themes
Trait Implementations§
Source§impl Clone for StrategicThemeAnalysis
impl Clone for StrategicThemeAnalysis
Source§fn clone(&self) -> StrategicThemeAnalysis
fn clone(&self) -> StrategicThemeAnalysis
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 moreSource§impl Debug for StrategicThemeAnalysis
impl Debug for StrategicThemeAnalysis
Source§impl Default for StrategicThemeAnalysis
impl Default for StrategicThemeAnalysis
Source§fn default() -> StrategicThemeAnalysis
fn default() -> StrategicThemeAnalysis
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StrategicThemeAnalysis
impl RefUnwindSafe for StrategicThemeAnalysis
impl Send for StrategicThemeAnalysis
impl Sync for StrategicThemeAnalysis
impl Unpin for StrategicThemeAnalysis
impl UnwindSafe for StrategicThemeAnalysis
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