pub struct LanguageComparison {
pub a: LanguageProfile,
pub b: LanguageProfile,
pub fitness_delta: f64,
pub axis_deltas: Vec<(&'static str, f64)>,
}Expand description
Compare two languages: positive means a fits agentic use better.
Fields§
§a: LanguageProfileFirst language (the subject).
b: LanguageProfileSecond language (the baseline).
fitness_delta: f64a.fitness() - b.fitness().
axis_deltas: Vec<(&'static str, f64)>Axis name → delta (a − b), in fixed axis order.
Trait Implementations§
Source§impl Clone for LanguageComparison
impl Clone for LanguageComparison
Source§fn clone(&self) -> LanguageComparison
fn clone(&self) -> LanguageComparison
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LanguageComparison
impl Debug for LanguageComparison
Source§impl Display for LanguageComparison
impl Display for LanguageComparison
Auto Trait Implementations§
impl Freeze for LanguageComparison
impl RefUnwindSafe for LanguageComparison
impl Send for LanguageComparison
impl Sync for LanguageComparison
impl Unpin for LanguageComparison
impl UnsafeUnpin for LanguageComparison
impl UnwindSafe for LanguageComparison
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