pub struct ScoreBreakdown {
pub total: f64,
pub padding_deduction: f64,
pub false_sharing_deduction: f64,
pub locality_deduction: f64,
}Fields§
§total: f64Final score in [0.0, 100.0]. Higher = better (less to fix).
padding_deduction: f64Points deducted for padding waste (max 40).
false_sharing_deduction: f64Points deducted for confirmed false sharing (30) or potential (10).
locality_deduction: f64Points deducted for hot/cold locality issues (max 15).
Trait Implementations§
Source§impl Clone for ScoreBreakdown
impl Clone for ScoreBreakdown
Source§fn clone(&self) -> ScoreBreakdown
fn clone(&self) -> ScoreBreakdown
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 ScoreBreakdown
impl RefUnwindSafe for ScoreBreakdown
impl Send for ScoreBreakdown
impl Sync for ScoreBreakdown
impl Unpin for ScoreBreakdown
impl UnsafeUnpin for ScoreBreakdown
impl UnwindSafe for ScoreBreakdown
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