pub struct WebStackComparison {
pub a: WebStackProfile,
pub b: WebStackProfile,
pub fitness_delta: f64,
pub axis_deltas: Vec<(&'static str, f64)>,
}Expand description
Compare two stacks: positive deltas mean a fits agentic use better.
Fields§
§a: WebStackProfileFirst stack (the subject).
b: WebStackProfileSecond stack (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 WebStackComparison
impl Clone for WebStackComparison
Source§fn clone(&self) -> WebStackComparison
fn clone(&self) -> WebStackComparison
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 WebStackComparison
impl Debug for WebStackComparison
Source§impl Display for WebStackComparison
impl Display for WebStackComparison
Auto Trait Implementations§
impl Freeze for WebStackComparison
impl RefUnwindSafe for WebStackComparison
impl Send for WebStackComparison
impl Sync for WebStackComparison
impl Unpin for WebStackComparison
impl UnsafeUnpin for WebStackComparison
impl UnwindSafe for WebStackComparison
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